summaryrefslogtreecommitdiff
path: root/Documentation/git-config.txt
diff options
context:
space:
mode:
authorCarlos Rica <jasampler@gmail.com>2009-03-17 09:46:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-17 16:30:00 (GMT)
commitbf71b4b3ee07291e97c4dabfb97e7397eec904e0 (patch)
tree242ed48989dad56a158149758e4a600bccc0fa44 /Documentation/git-config.txt
parentba048224685e661a4cf4736dcffab5fc60cbc70b (diff)
downloadgit-bf71b4b3ee07291e97c4dabfb97e7397eec904e0.zip
git-bf71b4b3ee07291e97c4dabfb97e7397eec904e0.tar.gz
git-bf71b4b3ee07291e97c4dabfb97e7397eec904e0.tar.bz2
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 7d14007..8b94f19 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]