All the other ftp programs I've seen support -p to mean switch into passive mode by default. This is very useful, since so many places (such as fencepost :() are configured to only work with passive mode.
Printing a command line prompt when not on a tty seems very obscure by comparison. How about leaving that as --prompt only, and changing -p (aka --passive, I suppose) to do the passive mode thing? There you go, just for you. :-) 2010-02-04 Alfred M. Szmidt <[email protected]> New options --active and --passive. * ftp/main.c (OPT_PROMPT): New enum. (argp_options) <prompt>: Removed short option (-p). <active>: New option; uses -A as short option. <passive>: New option; uses -p as short option. (parse_opt): Handle --active and --passive, updated --prompt accordingly. (main) <passivemode>: Set initial value before argument parsing.
