diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -17,7 +17,7 @@ then args="-h" if [ -n "$subcmd" ] then - echo $subcmd + echo $subcmd | cut -d '-' -f 2 | sort | uniq | sed -e 's/^/ak /g' # $(echo $subcmd) $args fi done @@ -46,6 +46,12 @@ else fi counter=$(($counter + 1)) done + find $AK_BINDIR | while read available + do + echo $(basename $available) |\ + grep ak-$(echo $argv | cut -d ' ' -f 1) |\ + sed -e 's/-/ /g' + done logit "ERROR" "Unknown subcommand: $*" exit 1 fi |