test_help_limit_default_stdout.gold.txt 3.1 KB

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