Skip to content

Commit f475c7f

Browse files
committed
sdk: show the complete help when called without arguments
This also fixes the issue where the oneline description has become a bit stale... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent e826d31 commit f475c7f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-extra/git-sdk.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ EOF
118118
esac
119119
;;
120120
*)
121-
sdk die "Usage: sdk ( build-git | init <repo> | create-desktop-icon | help )"
121+
printf "Usage: sdk <command> [<argument>...]\n\n" >&2 &&
122+
sdk help
122123
;;
123124
esac
124125
}

0 commit comments

Comments
 (0)