diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-14 14:19:50 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-14 14:19:50 -0200 |
commit | a91806756a29838124afa828396c3db671df035c (patch) | |
tree | c086b7e59e0db5fa88f4c5fb42abc63c344eafc7 /lib | |
parent | fefbd3d64fdc02a4e4dc55bf90b9e9f91a397804 (diff) | |
download | hydra-a91806756a29838124afa828396c3db671df035c.tar.gz hydra-a91806756a29838124afa828396c3db671df035c.tar.bz2 |
Usage enhancements
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hydra/misc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/hydra/misc b/lib/hydra/misc index d83afbb..b349b40 100644 --- a/lib/hydra/misc +++ b/lib/hydra/misc @@ -108,8 +108,11 @@ function hydra_action_usage { hydra_usage_$BASENAME else # Default usage - echo "Usage: hydra|hydractl <command> [arguments]" + echo "Usage: $NAME <command> [arguments]" fi + + echo "Available commands:" + ls $ACTIONS | sed -e 's/^/\t/' } # Action dispatcher |