diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/portinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/portinfo.c b/utils/portinfo.c index 4c403526..27998db0 100644 --- a/utils/portinfo.c +++ b/utils/portinfo.c @@ -44,10 +44,8 @@ static const struct argp_option options[] = { {"verbose", 'v', 0, 0, "Give more detailed information"}, {"members", 'm', 0, 0, "Show members of port-sets"}, {"hex-names", 'x', 0, 0, "Show port names in hexadecimal"}, -#if 0 /* XXX implement this */ {"query-process", 'q', 0, 0, "Query the process itself for the identity of" " the ports in question -- requires the process be in a sane state"}, -#endif {"hold", '*', 0, OPTION_HIDDEN}, {0,0,0,0, "Selecting which names to show:", 2}, @@ -249,6 +247,7 @@ main (int argc, char **argv) case 'v': show |= PORTINFO_DETAILS; break; case 'm': show |= PORTINFO_MEMBERS; break; case 'x': show |= PORTINFO_HEX_NAMES; break; + case 'q': show |= PORTINFO_QUERY; break; case 'r': only |= MACH_PORT_TYPE_RECEIVE; break; case 's': only |= MACH_PORT_TYPE_SEND; break; |