From b17dd3f9d6b1657b3fbfb40a863fc2dce5f54798 Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Wed, 24 Apr 2013 15:54:37 +0200 Subject: remote: 'show' and 'prune' can take more than one remote The 'git remote show' and 'prune' subcommands are documented as taking only a single remote name argument, but that is not the case; they will simply iterate the action over all remotes given. Update the documentation and tests to match. With the last user of the -f flag gone, we also remove the code supporting it. Signed-off-by: Thomas Rast Signed-off-by: Junio C Hamano --- Documentation/git-remote.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Documentation') diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt index e8c396b5f9..7a6f354680 100644 --- a/Documentation/git-remote.txt +++ b/Documentation/git-remote.txt @@ -18,8 +18,8 @@ SYNOPSIS 'git remote set-url' [--push] [] 'git remote set-url --add' [--push] 'git remote set-url --delete' [--push] -'git remote' [-v | --verbose] 'show' [-n] -'git remote prune' [-n | --dry-run] +'git remote' [-v | --verbose] 'show' [-n] ... +'git remote prune' [-n | --dry-run] ... 'git remote' [-v | --verbose] 'update' [-p | --prune] [( | )...] DESCRIPTION -- cgit v1.2.3