summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" "$@"
}