Signed-off-by: Chris Shoemaker <c.shoemaker@cox.net> --- Documentation/git-add.txt | 9 ++++++++- git-add.sh | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletions(-) 2bc166e3e8241432b88ff793ec69a979a7056b3e diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt --- a/Documentation/git-add.txt +++ b/Documentation/git-add.txt @@ -7,7 +7,7 @@ git-add - Add files to the cache. SYNOPSIS -------- -'git-add' <file>... +'git-add' [-n] [-v] <file>... DESCRIPTION ----------- @@ -19,6 +19,13 @@ OPTIONS <file>...:: Files to add to the cache. +-n:: + Don't actually add the file(s), just show if they exist. + +-v:: + Be verbose. + + Author ------ Written by Linus Torvalds <torvalds@osdl.org> diff --git a/git-add.sh b/git-add.sh --- 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 ;; - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sun Oct 30 08:47:26 2005
This archive was generated by hypermail 2.1.8 : 2005-10-30 08:48:00 EST