* ps.cc (main): Set aflag if -p option is given.
This commit is contained in:
parent
49103e2ba4
commit
32410d2175
|
@ -1,3 +1,7 @@
|
||||||
|
2006-02-17 Jerry D. Hedden <jerry@hedden.us>
|
||||||
|
|
||||||
|
* ps.cc (main): Set aflag if -p option is given.
|
||||||
|
|
||||||
2006-02-16 Jerry D. Hedden <jerry@hedden.us>
|
2006-02-16 Jerry D. Hedden <jerry@hedden.us>
|
||||||
|
|
||||||
* ps.cc (longopts): Add --process option.
|
* ps.cc (longopts): Add --process option.
|
||||||
|
|
|
@ -286,6 +286,7 @@ main (int argc, char *argv[])
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
proc_id = atoi (optarg);
|
proc_id = atoi (optarg);
|
||||||
|
aflag = 1;
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
sflag = 1;
|
sflag = 1;
|
||||||
|
|
Loading…
Reference in New Issue