summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-10-18 03:46:43 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-10-18 03:46:43 (GMT)
commit5c93a3f1164325ab586ee0b1fe04e947a5411407 (patch)
treecbf0c7ab2fa8b0cf4314d61d3a524e90cad42e8a
parentb7e21ac5d2215f95116bc3ba48b1200f039d4207 (diff)
downloadmonitoring-plugins-5c93a3f1164325ab586ee0b1fe04e947a5411407.tar.gz
refine STD_LONG_OPTS
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@138 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/utils.h.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/utils.h.in b/plugins/utils.h.in
index 5a3e120..d88d0cb 100644
--- a/plugins/utils.h.in
+++ b/plugins/utils.h.in
@@ -99,14 +99,12 @@ int max_state(int, int);
99 most will or should. Therefore, for consistency, these very common 99 most will or should. Therefore, for consistency, these very common
100 options should have only these meanings throughout the overall suite */ 100 options should have only these meanings throughout the overall suite */
101 101
102#define STD_OPTS "Vvht:c:w:H:F:" 102#define STD_LONG_OPTS \
103#define STD_OPTS_LONG \
104{"version",no_argument,0,'V'},\ 103{"version",no_argument,0,'V'},\
105{"verbose",no_argument,0,'v'},\ 104{"verbose",no_argument,0,'v'},\
106{"help",no_argument,0,'h'},\ 105{"help",no_argument,0,'h'},\
107{"timeout",required_argument,0,'t'},\ 106{"timeout",required_argument,0,'t'},\
108{"critical",required_argument,0,'c'},\ 107{"critical",required_argument,0,'c'},\
109{"warning",required_argument,0,'w'},\ 108{"warning",required_argument,0,'w'},\
110{"hostname",required_argument,0,'H'},\ 109{"hostname",required_argument,0,'H'}
111{"file",required_argument,0,'F'}
112 110