mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
cmdline.c: Fix check of proxy and destination being given.
This commit is contained in:
parent
cd358101fb
commit
9203bdfef7
1 changed files with 1 additions and 1 deletions
|
|
@ -596,7 +596,7 @@ int cmdline_parser( int argc, char * const *argv, struct gengetopt_args_info *ar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! args_info->proxy_given && ! args_info->dest_given ) {
|
if (! args_info->proxy_given || ! args_info->dest_given ) {
|
||||||
clear_args ();
|
clear_args ();
|
||||||
// cmdline_parser_print_help ();
|
// cmdline_parser_print_help ();
|
||||||
message( "No proxy or destination given, exiting\nUse '--help' flag for usage info\n" );
|
message( "No proxy or destination given, exiting\nUse '--help' flag for usage info\n" );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue