hlustik / nagios-check-as400

Automatically exported from code.google.com/p/nagios-check-as400
GNU General Public License v2.0
0 stars 0 forks source link

for missing parameters just the Usage gets printed #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using a command line option where -c and -v are compulsory
2. missing one or both

expected Output:
-c is missing
-w is missing
-c and -w are missing 

current Output:
Usage: check_as400 -H host -u user -p pass [-v var] [-w warn] [-c critical]
    (-h) for detailed help
    (-V) for version information

Original issue reported on code.google.com by hlus...@gmail.com on 20 Jan 2011 at 8:39

GoogleCodeExporter commented 9 years ago

Original comment by hlus...@gmail.com on 20 Jan 2011 at 8:55