Bläddra i källkod

improve help text

Josef Hofer 4 år sedan
förälder
incheckning
520bf7e546

+ 1 - 1
metrixpp/ext/std/code/linelength.py

@@ -16,7 +16,7 @@ class Plugin(api.Plugin,
     def declare_configuration(self, parser):
         parser.add_option("--std.code.linelength", "--scll",
             action="store_true", default=False,
-            help="Enables collection maximum line-length transgressions [default: %default]")
+            help="Enables collection of maximum line-length overruns [default: %default]")
         parser.add_option("--std.code.linelength.limit", "--sclll",
             default=80,
             help="Modifies the limit for maximum line-length [default: %default]")

+ 1 - 1
metrixpp/tests/general/test_basic/test_help_collect_default_stdout.gold.txt

@@ -53,7 +53,7 @@ Options:
                         Enables collection of size metric (in number of
                         symbols per region) [default: False]
   --std.code.linelength, --scll
-                        Enables collection maximum line-length transgressions
+                        Enables collection of maximum line-length overruns
                         [default: False]
   --std.code.linelength.limit=STD.CODE.LINELENGTH.LIMIT, --sclll=STD.CODE.LINELENGTH.LIMIT
                         Modifies the limit for maximum line-length [default: