From 4504107d5ef6a8840aaf278e63722bf4efbf722e Mon Sep 17 00:00:00 2001 From: Tim Henigan Date: Fri, 20 Nov 2009 18:43:13 -0500 Subject: git remote: Separate usage strings for subcommands When the usage string for a subcommand must be printed, only print the information relevant to that command. This commit also removes the complete options list from the first line of the subcommand usage string. Instead, individual options are documented in the detailed description following the general usage line. Signed-off-by: Tim Henigan Signed-off-by: Junio C Hamano --- Documentation/git-remote.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Documentation/git-remote.txt') diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index 82a3d29673..c272c92d4b 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -13,10 +13,10 @@ SYNOPSIS 'git remote add' [-t ] [-m ] [-f] [--mirror] 'git remote rename' 'git remote rm' -'git remote set-head' [-a | -d | ] -'git remote show' [-n] +'git remote set-head' (-a | -d | ) +'git remote' [-v | --verbose] 'show' [-n] 'git remote prune' [-n | --dry-run] -'git remote update' [-p | --prune] [group | remote]... +'git remote' [-v | --verbose] 'update' [-p | --prune] [group | remote]... DESCRIPTION ----------- @@ -30,6 +30,7 @@ OPTIONS -v:: --verbose:: Be a little more verbose and show remote url after name. + NOTE: This must be placed between `remote` and `subcommand`. COMMANDS -- cgit v1.2.1