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

Diff for /src/usr.bin/top/top.c between version 1.43 and 1.44

version 1.43, 2006/03/04 06:58:12 version 1.44, 2006/12/27 07:24:52
Line 135 
Line 135 
         extern char *__progname;          extern char *__progname;
   
         fprintf(stderr,          fprintf(stderr,
             "usage: %s [-bIinqSTu] [-d count] [-o field] [-p pid] [-s time] [-U username] [number]\n",              "usage: %s [-bCIinqSTu] [-d count] [-o field] [-p pid] [-s time] [-U username] [number]\n",
             __progname);              __progname);
 }  }
   
Line 145 
Line 145 
         char *endp;          char *endp;
         int i;          int i;
   
         while ((i = getopt(ac, av, "STIbinqus:d:p:U:o:")) != -1) {          while ((i = getopt(ac, av, "STICbinqus:d:p:U:o:")) != -1) {
                 switch (i) {                  switch (i) {
                   case 'C':
                           show_args = Yes;
                           break;
   
                 case 'u':       /* toggle uid/username display */                  case 'u':       /* toggle uid/username display */
                         do_unames = !do_unames;                          do_unames = !do_unames;
                         break;                          break;

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44