fix bare call

This commit is contained in:
Justin
2026-06-20 16:16:06 -04:00
parent 8ed08b7c0e
commit c90c6146cc

View File

@ -165,7 +165,7 @@ main() {
envs|ls|list) cmd_envs ;;
version|-v|--version) echo "safeclaude $SAFECLAUDE_VERSION" ;;
help|-h|--help) usage ;;
run) shift; cmd_run "$@" ;;
run) shift || true; cmd_run "$@" ;; # tolerate no args (bare `safeclaude`)
*) cmd_run "$@" ;; # default: all args go to claude
esac
}