[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ftp

Diff for /src/usr.bin/ftp/main.c between version 1.86 and 1.87

version 1.86, 2013/12/24 13:00:59 version 1.87, 2014/01/23 00:39:15
Line 200 
Line 200 
 #endif /* !SMALL */  #endif /* !SMALL */
   
         while ((ch = getopt(argc, argv,          while ((ch = getopt(argc, argv,
                     "46AaCc:dEegik:mno:pP:r:S:s:tvV")) != -1) {                      "46AaCc:dD:Eegik:mno:pP:r:S:s:tvV")) != -1) {
                 switch (ch) {                  switch (ch) {
                 case '4':                  case '4':
                         family = PF_INET;                          family = PF_INET;
Line 229 
Line 229 
 #endif /* !SMALL */  #endif /* !SMALL */
                         break;                          break;
   
                   case 'D':
                           action = optarg;
                           break;
                 case 'd':                  case 'd':
 #ifndef SMALL  #ifndef SMALL
                         options |= SO_DEBUG;                          options |= SO_DEBUG;
Line 830 
Line 833 
 {  {
         (void)fprintf(stderr, "usage: %s "          (void)fprintf(stderr, "usage: %s "
 #ifndef SMALL  #ifndef SMALL
             "[-46AadEegimnptVv] [-k seconds] [-P port] "              "[-46AadEegimnptVv] [-D title] [-k seconds] [-P port] "
             "[-r seconds] [-s srcaddr]\n"              "[-r seconds]\n"
             "           [host [port]]\n"              "           [-s srcaddr] [host [port]]\n"
             "       %s [-C] "              "       %s [-C] "
 #endif /* !SMALL */  #endif /* !SMALL */
             "[-o output] "              "[-o output] "

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87