Skip to content

Commit 32918d5

Browse files
authored
Zero args to the wrapper means call help (#11)
Closes #8
1 parent 7b3c373 commit 32918d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/embeds/tome-wrapper.sh.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export TOME_CLI_ROOT="{{ .Root }}"
2727
# Compatibility layer with former tome executable
2828
# from https://github.com/zph/tome or upstream
2929
if [[ -z "${1:-}" ]]; then
30-
exec_cmd "tome-cli"
30+
# Backwards compatibility with tome means print all script help
31+
exec_cmd "tome-cli" help
3132
fi
3233
readonly cmd="$1"
3334
case "$cmd" in

0 commit comments

Comments
 (0)