]> arthur.barton.de Git - bup.git/commitdiff
Mention that option values will be converted to integers when possible.
authorRob Browning <rlb@defaultvalue.org>
Wed, 28 Dec 2011 01:41:40 +0000 (19:41 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 17 Aug 2012 18:42:56 +0000 (13:42 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/options.py

index 7fb5bcf39456c69863a89c91dfb7f7d733e1d56d..a15220a92da5680d66bde2b854c8dc4696ecfaf5 100644 (file)
@@ -45,10 +45,11 @@ longer one, but the short one can be omitted.
 Long option flags are used as the option's key for the OptDict produced when
 parsing options.
 
-When the flag definition is ended with an equal sign, the option takes one
-string as an argument. Otherwise, the option does not take an argument and
-corresponds to a boolean flag that is true when the option is given on the
-command line.
+When the flag definition is ended with an equal sign, the option takes
+one string as an argument, and that string will be converted to an
+integer when possible. Otherwise, the option does not take an argument
+and corresponds to a boolean flag that is true when the option is
+given on the command line.
 
 The option's description is found at the right of its flags definition, after
 one or more spaces. The description ends at the end of the line. If the