correct description of some currently-foreign options

This commit is contained in:
albert 2006-06-21 04:41:58 +00:00
parent 492acac001
commit 93ed75edc9

View File

@ -488,6 +488,8 @@ static void parse_opts (int argc, char **argv)
while ((opt = getopt (argc, argv, opts)) != -1) { while ((opt = getopt (argc, argv, opts)) != -1) {
switch (opt) { switch (opt) {
// case 'D': // FreeBSD: print info about non-matches for debugging
// break;
// case 'F': // FreeBSD: the arg is a file containing a PID to match // case 'F': // FreeBSD: the arg is a file containing a PID to match
// break; // break;
case 'G': // Solaris: match rgid/rgroup case 'G': // Solaris: match rgid/rgroup
@ -500,10 +502,7 @@ static void parse_opts (int argc, char **argv)
// break; // break;
// case 'J': // Solaris: match by project ID (name or number) // case 'J': // Solaris: match by project ID (name or number)
// break; // break;
// case 'L': // FreeBSD: the pidfile (see -F) must be locked with flock() // case 'L': // FreeBSD: fail if pidfile (see -F) not locked with flock()
// break;
// case 'L': // OpenBSD: print full args along w/ PID
// opt_printargs = 1;
// break; // break;
// case 'M': // FreeBSD: specify core (OS crash dump) file // case 'M': // FreeBSD: specify core (OS crash dump) file
// break; // break;
@ -548,7 +547,7 @@ static void parse_opts (int argc, char **argv)
// break; // break;
// case 'j': // FreeBSD: restricted to the given jail ID // case 'j': // FreeBSD: restricted to the given jail ID
// break; // break;
case 'l': // Solaris: long output format (pgrep only) case 'l': // Solaris: long output format (pgrep only) Should require -f for beyond argv[0] maybe?
opt_long = 1; opt_long = 1;
break; break;
case 'n': // Solaris: match only the newest case 'n': // Solaris: match only the newest