Thread (3 messages) 3 messages, 3 authors, 2016-06-15

[PATCH] Documentation: boolean value may be given by on/off

DORMANTno replies

From: Michał Kiedrowicz <hidden>
Date: 2016-06-15 22:46:37
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Junio C Hamano [off-list ref] wrote:
----------------------------------------------------------------
[Stalled and may need help and prodding to go forward]

* lt/bool-on-off (Thu Apr 9 12:40:39 2009 -0700) 1 commit
 + Allow users to un-configure rename detection

Still lacks doc updates.
Signed-off-by: Michał Kiedrowicz <redacted>
---
 Documentation/config.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 5319df5..1c64683 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -61,7 +61,7 @@ Internal whitespace within a variable value is retained verbatim.

 The values following the equals sign in variable assign are all either
 a string, an integer, or a boolean.  Boolean values may be given as yes/no,
-0/1 or true/false.  Case is not significant in boolean values, when
+0/1, true/false or on/off.  Case is not significant in boolean values, when
 converting value to the canonical form using '--bool' type specifier;
 'git-config' will ensure that the output is "true" or "false".
@@ -945,8 +945,8 @@ guitool.<name>.argprompt::
        Request a string argument from the user, and pass it to the tool
        through the 'ARGS' environment variable. Since requesting an
        argument implies confirmation, the 'confirm' option has no effect
-       if this is enabled. If the option is set to 'true', 'yes', or '1',
-       the dialog uses a built-in generic prompt; otherwise the exact
+       if this is enabled. If the option is set to 'true', 'yes', 'on' or
+       '1', the dialog uses a built-in generic prompt; otherwise the exact
        value of the variable is used.

 guitool.<name>.revprompt::
-- 
1.6.0.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help