summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2015-07-24 04:33:17 +0000
committerRobert Mustacchi <rm@joyent.com>2015-07-24 04:41:11 +0000
commit85757d061efab165086d3d5675f2830f95960799 (patch)
tree7bc85ee35a2d52469a988c4a1781eeadad5b5eb4
parenta13c70e17dec5f9be4da68bce7b12747c3ad3833 (diff)
downloadillumos-joyent-85757d061efab165086d3d5675f2830f95960799.tar.gz
OS-4120 snoop usage should mention -z flag
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
-rw-r--r--usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c b/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
index 6d586ab9b5..f2192df089 100644
--- a/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
+++ b/usr/src/cmd/cmd-inet/usr.sbin/snoop/snoop.c
@@ -820,6 +820,8 @@ usage(void)
(void) fprintf(stderr,
"\t[ -r ] # Do not resolve address to name\n");
(void) fprintf(stderr,
+ "\t[ -z zone ] # Open links from named zone\n");
+ (void) fprintf(stderr,
"\n\t[ filter expression ]\n");
(void) fprintf(stderr, "\nExample:\n");
(void) fprintf(stderr, "\tsnoop -o saved host fred\n\n");