summaryrefslogtreecommitdiffstats
path: root/cac
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-08-05 22:39:46 +0200
committertv <tv@shackspace.de>2015-08-05 22:39:46 +0200
commite827ab9784eb5e662b7dba019ce8ec438c3fbc07 (patch)
treec2df824d1c76fa12f80f0c973937eadd2cc2d2c8 /cac
parent8db5750f4e2330652581504538d28d4bb6c80c25 (diff)
cac [help] # harder
Diffstat (limited to 'cac')
-rwxr-xr-xcac4
1 files changed, 2 insertions, 2 deletions
diff --git a/cac b/cac
index aeda9c0..d8600c5 100755
--- a/cac
+++ b/cac
@@ -54,8 +54,8 @@ cac_secrets=${cac_secrets-$HOME/.secrets/cac}
cac() {
- __cac_cli__command=$1
- shift
+ __cac_cli__command=${1-help}
+ shift || :
__cac_cli__"$__cac_cli__command" "$@"
}