Permalink
Browse files

Mention that option values will be converted to integers when possible.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
  • Loading branch information...
1 parent d5d1c8a commit 7f943240f5a54976b94c189f2a991c9c5ef22865 @rlbdv rlbdv committed Dec 28, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/bup/options.py
View
@@ -45,10 +45,11 @@
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

0 comments on commit 7f94324

Please sign in to comment.