]> www.infradead.org Git - users/dedekind/aiaiai.git/commit
aiaiai: use fail_usage on incorrect number of arguments
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 28 Mar 2014 16:08:31 +0000 (09:08 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 31 Mar 2014 08:56:03 +0000 (11:56 +0300)
commitc33e515121b5e8945e9e845bd1336482067b8694
tree3fbc3971fcd503da7a4f7565c80eaec125bcccab
parente7164ad87748f9098f366e4c2deb3008549b6c1b
aiaiai: use fail_usage on incorrect number of arguments

We should display the full usage with an error message when we have an
incorrect number of arguments, rather than just die. The advantage is
that the user will see what the actual usage of the program is, rather
than just a somewhat cryptic error message.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
aiaiai-test-patchset
email/aiaiai-email-dispatcher
email/aiaiai-email-dispatcher-helper
email/aiaiai-email-lda
email/aiaiai-email-test-patchset
gerrit/aiaiai-jenkins-test-patchset
helpers/aiaiai-diff-log
helpers/aiaiai-make-kernel
helpers/aiaiai-match-keywords
helpers/aiaiai-test-bisectability