test_help_limit_default_stdout.gold.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Usage: python metrix++.py --help
  2. python metrix++.py limit --help
  3. python metrix++.py limit [options] -- [path 1] ... [path N]
  4. Options:
  5. -h, --help show this help message and exit
  6. --db-file=DB_FILE, --dbf=DB_FILE
  7. Path to a database file to read and process [default:
  8. ./metrixpp.db].
  9. --db-file-prev=DB_FILE_PREV, --dbfp=DB_FILE_PREV
  10. Path to database file with data collected for the
  11. past/previous code revision. It is used to identify
  12. and evaluate/analyze change trends. [default: none].
  13. --log-level=LOG_LEVEL, --ll=LOG_LEVEL
  14. Defines log level. Possible values are
  15. 'DEBUG','INFO','WARNING' or 'ERROR'. Default value is
  16. inherited from environment variable
  17. 'METRIXPLUSPLUS_LOG_LEVEL' if set. [default: INFO]
  18. --warn-mode=WARN_MODE, --wm=WARN_MODE
  19. Defines the warnings mode. 'new' - warnings for new
  20. regions only, 'trend' - warnings for new regions and
  21. for bad trend of modified regions, 'touched' -
  22. warnings for new regions and modified regions, 'all' -
  23. all warnings active [default: all]
  24. --min-limit=MIN_LIMIT, --min=MIN_LIMIT
  25. A threshold per 'namespace:field' metric in order to
  26. select regions, which have got metric value less than
  27. the specified limit. This option can be specified
  28. multiple times, if it is necessary to apply several
  29. limits. Should be in the format: <namespace>:<field
  30. >:<limit-value>, for example:
  31. 'std.code.lines:comments:1'.
  32. --max-limit=MAX_LIMIT, --max=MAX_LIMIT
  33. A threshold per 'namespace:field' metric in order to
  34. select regions, which have got metric value more than
  35. the specified limit. This option can be specified
  36. multiple times, if it is necessary to apply several
  37. limits. Should be in the format: <namespace>:<field
  38. >:<limit-value>, for example:
  39. 'std.code.complexity:cyclomatic:7'.
  40. --hotspots=HOTSPOTS, --hs=HOTSPOTS
  41. If not set (none), all exceeded limits are printed. If
  42. set, exceeded limits are sorted (the worst is the
  43. first) and only first HOTSPOTS limits are printed.
  44. [default: none]
  45. --disable-suppressions, --ds
  46. If not set (none), all suppressions are ignored and
  47. associated warnings are printed. [default: False]