diff options
author | Chris Shoemaker <c.shoemaker@cox.net> | 2005-10-29 23:46:41 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-31 02:28:01 +0100 |
commit | 918db541e0e833b695ee45ee6cf563d018096860 (patch) | |
tree | 7392afaa6a348bef15f5b04544765b79b9685397 /git-add.sh | |
parent | Add to documentation of git-update-index arguments and usage. (diff) | |
download | git-918db541e0e833b695ee45ee6cf563d018096860.tar.xz git-918db541e0e833b695ee45ee6cf563d018096860.zip |
Add to usage and docs for git-add.sh
Signed-off-by: Chris Shoemaker <c.shoemaker@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-add.sh')
-rwxr-xr-x | git-add.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git-add.sh b/git-add.sh index 4bf41281d5..b5fe46aa20 100755 --- a/git-add.sh +++ b/git-add.sh @@ -1,5 +1,9 @@ #!/bin/sh +usage() { + die "usage: git add [-n] [-v] <file>..." +} + show_only= verbose= while : ; do @@ -10,6 +14,9 @@ while : ; do -v) verbose=--verbose ;; + -*) + usage + ;; *) break ;; |