test_help_limit_default_stdout.gold.txt 2.8 KB

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