cmdline.c: Fix check of proxy and destination being given.

This commit is contained in:
Sven Geuer 2025-11-22 15:49:53 +01:00
parent cd358101fb
commit 9203bdfef7
No known key found for this signature in database
GPG key ID: ADF50EDAF8ADD585

View file

@ -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 ();
// cmdline_parser_print_help ();
message( "No proxy or destination given, exiting\nUse '--help' flag for usage info\n" );