Code

refine STD_LONG_OPTS
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Fri, 18 Oct 2002 03:46:43 +0000 (03:46 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Fri, 18 Oct 2002 03:46:43 +0000 (03:46 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@138 f882894a-f735-0410-b71e-b25c423dba1c

plugins/utils.h.in

index 5a3e1201976b879bdf8b307a7bd802ae0c7e8c9a..d88d0cb060733e2ba13219b20c96a7d70b8fe766 100644 (file)
@@ -99,14 +99,12 @@ int max_state(int, int);
    most will or should.  Therefore, for consistency, these very common 
    options should have only these meanings throughout the overall suite */
 
-#define STD_OPTS "Vvht:c:w:H:F:"
-#define STD_OPTS_LONG \
+#define STD_LONG_OPTS \
 {"version",no_argument,0,'V'},\
 {"verbose",no_argument,0,'v'},\
 {"help",no_argument,0,'h'},\
 {"timeout",required_argument,0,'t'},\
 {"critical",required_argument,0,'c'},\
 {"warning",required_argument,0,'w'},\
-{"hostname",required_argument,0,'H'},\
-{"file",required_argument,0,'F'}
+{"hostname",required_argument,0,'H'}