diff options
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index d70f4ca..1fc2036 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -361,12 +361,14 @@ int ftpgetput_main(int argc UNUSED_PARAM, char **argv) /* * Decipher the command line */ + opt_complementary = "-2:vv:cc"; /* must have 2 to 3 params; -v and -c count */ #if ENABLE_FEATURE_FTPGETPUT_LONG_OPTIONS - applet_long_options = ftpgetput_longopts; + getopt32long(argv, "cvu:p:P:", ftpgetput_longopts, +#else + getopt32(argv, "cvu:p:P:", #endif - opt_complementary = "-2:vv:cc"; /* must have 2 to 3 params; -v and -c count */ - getopt32(argv, "cvu:p:P:", &user, &password, &port, - &verbose_flag, &do_continue); + &user, &password, &port, &verbose_flag, &do_continue + ); argv += optind; /* We want to do exactly _one_ DNS lookup, since some |