summaryrefslogtreecommitdiff
path: root/Documentation/git-config.txt
diff options
context:
space:
mode:
authorCarlos Rica <jasampler@gmail.com>2009-03-17 10:46:37 +0100
committerJunio C Hamano <gitster@pobox.com>2009-03-17 09:30:00 -0700
commitbf71b4b3ee07291e97c4dabfb97e7397eec904e0 (patch)
tree242ed48989dad56a158149758e4a600bccc0fa44 /Documentation/git-config.txt
parentba048224685e661a4cf4736dcffab5fc60cbc70b (diff)
downloadgit-bf71b4b3ee07291e97c4dabfb97e7397eec904e0.tar.gz
config: test for --replace-all with one argument and fix documentation.
Option --replace-all only allows at least two arguments, so documentation was needing to be updated accordingly. A test showing that the command fails with only one parameter is also provided. Signed-off-by: Carlos Rica <jasampler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-config.txt')
-rw-r--r--Documentation/git-config.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-config.txt b/Documentation/git-config.txt
index 7d140073b1..8b94f19b17 100644
--- a/Documentation/git-config.txt
+++ b/Documentation/git-config.txt
@@ -11,7 +11,7 @@ SYNOPSIS
[verse]
'git config' [<file-option>] [type] [-z|--null] name [value [value_regex]]
'git config' [<file-option>] [type] --add name value
-'git config' [<file-option>] [type] --replace-all name [value [value_regex]]
+'git config' [<file-option>] [type] --replace-all name value [value_regex]
'git config' [<file-option>] [type] [-z|--null] --get name [value_regex]
'git config' [<file-option>] [type] [-z|--null] --get-all name [value_regex]
'git config' [<file-option>] [type] [-z|--null] --get-regexp name_regex [value_regex]