Add support for -h/--help options.
commit09d4be558d3190e64a63ce854d832b218628198f
authorStephen Gordon <sgordon@redhat.com>
Tue, 23 Jul 2013 14:22:06 +0000 (23 10:22 -0400)
committerHeikki Hokkanen <hoxu@users.sf.net>
Tue, 23 Jul 2013 14:39:46 +0000 (23 17:39 +0300)
tree4c886d44f2f1a207b2855122f3bf40e79bd683f1
parent084303928c4476cf50b3f33ac56a81d1113369f9
Add support for -h/--help options.

RHBZ#962168. In response to user request added support for invoking with the -h
or --help argument to print usage information. Previously usage was only
printed if the user provided less than two arguments AND did not provide any
invalid arguments, as they were unhandled the commonly used -h and --help
arguments counted as invalid.

https://bugzilla.redhat.com/show_bug.cgi?id=962168

Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
gitstats