* ps.cc (main): Set aflag if -p option is given.

This commit is contained in:
Corinna Vinschen 2006-02-17 11:16:23 +00:00
parent 49103e2ba4
commit 32410d2175
2 changed files with 5 additions and 0 deletions

View File

@ -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>
* ps.cc (longopts): Add --process option.

View File

@ -286,6 +286,7 @@ main (int argc, char *argv[])
break;
case 'p':
proc_id = atoi (optarg);
aflag = 1;
break;
case 's':
sflag = 1;