[MERGE] Verbosity levels and standard options

Martin Pool mbp at canonical.com
Mon Sep 3 06:07:52 BST 2007


Martin Pool has voted approve.
Status is now: Approved
Comment:
--- bzrlib/tests/test_help.py   2007-08-06 10:02:13 +0000
+++ bzrlib/tests/test_help.py   2007-08-30 13:53:57 +0000
@@ -40,7 +40,9 @@
          helptext = cmd.get_help_text()
          self.assertEndsWith(
              helptext,
-            '  -h, --help  Show help message.\n'
+            '  -v, --verbose  Display more information.\n'
+            '  -q, --quiet    Only display errors and warnings.\n'
+            '  -h, --help     Show help message.\n'
              '\n'
              'See also: bar, foo\n')

(comment) this hunk is repeated several times, which is probably
a clue that several tests are implicitly exercising the same thing
and it should be hoisted out.  But I don't think your patch is making 
this
substantially worse.


For details, see: 
http://bundlebuggy.aaronbentley.com/request/%3C46DB873E.4000805%40internode.on.net%3E



More information about the bazaar mailing list