diff options
author | Lev Walkin <[email protected]> | 2014-04-18 14:46:41 -0700 |
---|---|---|
committer | Lev Walkin <[email protected]> | 2014-04-18 14:46:41 -0700 |
commit | de10e31aec6775b98529c1d00785ad2e36da9790 (patch) | |
tree | 4895b5217d8c54953b72d5136a87071313073696 /kerl | |
parent | 693b774bcbeca286bfc2cad91482473ed314e41f (diff) | |
download | kerl-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-x | kerl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |