aboutsummaryrefslogtreecommitdiff
path: root/hydras
diff options
context:
space:
mode:
Diffstat (limited to 'hydras')
-rwxr-xr-xhydras8
1 files changed, 8 insertions, 0 deletions
diff --git a/hydras b/hydras
index 6810898..ef5e27c 100755
--- a/hydras
+++ b/hydras
@@ -23,6 +23,14 @@ BASENAME="`basename $0`"
function usage {
echo "usage: $BASENAME <hydra1> [<hydra2> ... <hydraN>] -- <command>"
+
+ if [ -d "$HOME/.hydra" ]; then
+ echo "registered hydras:"
+ echo ""
+ ls -1 $HOME/.hydra | grep -v '^config$' | sort | xargs -L 6 | column -t -c 6 | sed -e 's/^/\t/'
+ echo ""
+ fi
+
exit 1
}