Skip to content

Instantly share code, notes, and snippets.

@Thomas-Gelf
Created March 11, 2016 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Thomas-Gelf/23b5454fa1d06af9fa1d to your computer and use it in GitHub Desktop.
Save Thomas-Gelf/23b5454fa1d06af9fa1d to your computer and use it in GitHub Desktop.
From 0206fe9b21c07fabbc67e7a1e46dc96430066ef3 Mon Sep 17 00:00:00 2001
From: Jean Flach <jean-marcel.flach@netways.de>
Date: Fri, 11 Mar 2016 11:45:26 +0100
Subject: [PATCH 2/2] Fix argement help
---
snmp_bulkget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/snmp_bulkget.c b/snmp_bulkget.c
index d1c6986..5ef9ee9 100644
--- a/snmp_bulkget.c
+++ b/snmp_bulkget.c
@@ -1452,7 +1452,7 @@ int usage(char *progname)
printf(" -d|--down-is-ok\tdisables critical alerts for down interfaces\n");
printf(" -a|--aliases\t\tretrieves the interface description\n");
printf(" -A|--match-aliases\talso match against aliases (Option -a automatically enabled)\n");
- printf(" -n|--short-names\tdisplay short names of interface (overridden by --aliases)\n");
+ printf(" -N|--if-names\tuse name argument instead of description\n");
printf(" --timeout\t\tsets the SNMP timeout (in ms)\n");
printf(" --sleep\t\tsleep between every SNMP query (in ms)\n");
printf("\n");
--
2.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment