find Interfaces

This commit is contained in:
/jdi/ 2015-09-27 14:38:25 +02:00
parent d61bfbadf2
commit f0def9c046
8 changed files with 54 additions and 84 deletions

View file

@ -16,6 +16,7 @@
#include <stdio.h>
#include "Options.h"
#include "Host.h"
#include "Program.h"
#define no_argument 0
@ -65,15 +66,15 @@ int main(int argc, char *argv[]) {
break;
case 'p':
//TODO add password
options.password= std::string(optarg);
break;
case 'u':
//TODO add username
options.user= std::string(optarg);
break;
case 'i':
//TODO add interface
options.interface= std::string(optarg);
break;
default: /* '?' */