Commits

Łukasz Langa committed ee52bf0

-q and --selftest documented

  • Participants
  • Parent commits 7d7f594

Comments (0)

Files changed (1)

 
 Basic syntax::
 
-  rename [-i] [-l] [-t] [-u] [-v "except_regex"] "regex" "target"
+  rename [-i] [-l] [-q] [-t] [-u] [-v "except_regex"] "regex" "target"
+  
+  rename [--selftest]
 
 Options
 =======
 the source regex used (i.e. unless ``-i`` is used, it still matches in
 a case-sensitive manner). See also: ``-U``.
 
+-q, or --quiet
+~~~~~~~~~~~~~~
+When used, no error output is given. The status of invocation should be
+determined via the return code.
+
 -t, or --test
 ~~~~~~~~~~~~~
 When used, the script will only fake renaming and verbosely state what it would
 filenames, use the canonical global form (e.g. ``"^filename$"``).
 See also: ``-i``.
 
+--selftest
+~~~~~~~~~~
+Runs internal unit tests of all functionality. Does actual renaming in the
+temporary directory. Each test generates its own set of files.
+
 Installation
 ============