summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpctl
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-09-26 19:26:25 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-09-26 19:26:25 +0000
commitc20f5c2c788db820cae58aff5a1f284a791b24b4 (patch)
tree76add7bae3edbd2bf6d0c5fc8dfbcb42738c4cf7 /usr.sbin/snmpctl
parentff23f07a33271f529092dba85bcc3e81599824e2 (diff)
add [-s socket] to usage();
Diffstat (limited to 'usr.sbin/snmpctl')
-rw-r--r--usr.sbin/snmpctl/snmpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpctl/snmpctl.c b/usr.sbin/snmpctl/snmpctl.c
index 89210679866..d78f1ed1667 100644
--- a/usr.sbin/snmpctl/snmpctl.c
+++ b/usr.sbin/snmpctl/snmpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snmpctl.c,v 1.9 2008/09/26 15:19:55 reyk Exp $ */
+/* $OpenBSD: snmpctl.c,v 1.10 2008/09/26 19:26:24 jmc Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
@@ -74,7 +74,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-n] command [arg ...]\n", __progname);
+ fprintf(stderr, "usage: %s [-n] [-s socket] command [arg ...]\n", __progname);
exit(1);
}