From e3163c75156f1b85e8a778cecfacae63c14dcdbb Mon Sep 17 00:00:00 2001 From: Tay Ray Chuan Date: Sat, 10 Apr 2010 10:50:19 +0800 Subject: fetch/push: fix usage strings - use "" instead of just "options". - use "[ [...]]" to indicate that and are optional, and that cannot be specified without specifying . Note that when called without specifying (eg. "git fetch -f"), it is accurate to say that the "git fetch [] [ ...]" case takes precedence over "git fetch [] ". Signed-off-by: Tay Ray Chuan Signed-off-by: Junio C Hamano --- Documentation/git-fetch.txt | 8 ++++---- Documentation/git-push.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Documentation') diff --git a/Documentation/git-fetch.txt b/Documentation/git-fetch.txt index 948ea26c5a..400fe7f956 100644 --- a/Documentation/git-fetch.txt +++ b/Documentation/git-fetch.txt @@ -8,13 +8,13 @@ git-fetch - Download objects and refs from another repository SYNOPSIS -------- -'git fetch' ... +'git fetch' [] [ [...]] -'git fetch' +'git fetch' [] -'git fetch' --multiple [ | ]... +'git fetch' --multiple [] [ | ]... -'git fetch' --all +'git fetch' --all [] DESCRIPTION diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt index 49b6bd9d92..7a4e507c4b 100644 --- a/Documentation/git-push.txt +++ b/Documentation/git-push.txt @@ -11,7 +11,7 @@ SYNOPSIS [verse] 'git push' [--all | --mirror | --tags] [-n | --dry-run] [--receive-pack=] [--repo=] [-f | --force] [-v | --verbose] [-u | --set-upstream] - [ ...] + [ [...]] DESCRIPTION ----------- -- cgit v1.2.3