aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorLev Walkin <[email protected]>2014-04-18 14:46:41 -0700
committerLev Walkin <[email protected]>2014-04-18 14:46:41 -0700
commitde10e31aec6775b98529c1d00785ad2e36da9790 (patch)
tree4895b5217d8c54953b72d5136a87071313073696 /kerl
parent693b774bcbeca286bfc2cad91482473ed314e41f (diff)
downloadkerl-de10e31aec6775b98529c1d00785ad2e36da9790.tar.gz
kerl-de10e31aec6775b98529c1d00785ad2e36da9790.tar.bz2
kerl-de10e31aec6775b98529c1d00785ad2e36da9790.zip
Fix confusing kerl usage string for `update`
[lwalkin@lwalkin:~]> ./kerl update usage: ./kerl <releases> should be: [lwalkin@lwalkin:~]> ./kerl update usage: ./kerl update releases This patch fixes that.
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl6
1 files changed, 3 insertions, 3 deletions
diff --git a/kerl b/kerl
index cea8194..1ee1ae9 100755
--- a/kerl
+++ b/kerl
@@ -652,7 +652,7 @@ cleanup_usage()
update_usage()
{
- echo "usage: $0 $1 <releases>"
+ echo "usage: $0 $1 releases"
}
get_active_path()
@@ -751,7 +751,7 @@ case "$1" in
;;
update)
if [ $# -lt 2 ]; then
- update_usage
+ update_usage $1
exit 1
fi
case "$2" in
@@ -762,7 +762,7 @@ case "$1" in
list_print releases spaces
;;
*)
- update_usage
+ update_usage $1
exit 1
;;
esac