Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/why-dont-you
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-26 11:52:43 +0100
committerErich Eckner <git@eckner.net>2020-02-26 11:52:43 +0100
commite3c760e7417c661767cdee73e630697dfeed3c8b (patch)
tree5db15b3a7eda09a1f4e1687e5f23c06cfb182f9a /bin/why-dont-you
parentc6f7a2096c1a3224f76e7d49ad7f794146208a7d (diff)
bin/harvest-commit-times: add short help text
Diffstat (limited to 'bin/why-dont-you')
-rwxr-xr-xbin/why-dont-you9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/why-dont-you b/bin/why-dont-you
index 51bdb5b..0ad6e7e 100755
--- a/bin/why-dont-you
+++ b/bin/why-dont-you
@@ -447,7 +447,14 @@ case "${action}" in
;;
*)
- >&2 printf 'unknown action "%s"\n' "${action}"
+ >&2 printf 'unknown action "%s" - known actions are:' "${action}"
+ >&2 printf ' "%s"' \
+ 'build' \
+ 'stabilize' \
+ 'unstage' \
+ 'keep' \
+ 'stubbornly_keep'
+ >&2 printf '\n'
exit 1
esac