]> www.infradead.org Git - users/dedekind/aiaiai.git/commit
email-hook: remove options that can't be used
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 31 Mar 2014 22:24:00 +0000 (15:24 -0700)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 3 Apr 2014 08:21:04 +0000 (11:21 +0300)
commitea54364a23490e668510613be2a0d98e5123d862
treeaf9b01b47a8e47b8bbad7b043cbd8e0b30030b70
parent4ab8c9a3807fb4b5271cffa0410a554eac19e2a5
email-hook: remove options that can't be used

Hooks don't really support options, so just remove them. Also, use
fail_usage instead of die for the exit message, so that we actually show
the usage when wrong number of arguments is given.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
email/aiaiai-email-autodetect-project