version 1.43, 2006/03/04 06:58:12 |
version 1.44, 2006/12/27 07:24:52 |
|
|
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); |
} |
} |
|
|
|
|
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; |