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. --hotspots=HOTSPOTS, --hs=HOTSPOTS
  19. If not set (none), all exceeded limits are printed. If
  20. set, exceeded limits are sorted (the worst is the
  21. first) and only first HOTSPOTS limits are printed.
  22. [default: none]
  23. --disable-suppressions, --ds
  24. If not set (none), all suppressions are ignored and
  25. associated warnings are printed. [default: False]
  26. --warn-mode=WARN_MODE, --wm=WARN_MODE
  27. Defines the warnings mode. 'all' - all warnings
  28. active, 'new' - warnings for new regions/files only,
  29. 'trend' - warnings for new regions/files and for bad
  30. trend of modified regions/files, 'touched' - warnings
  31. for new and modified regions/files [default: all]
  32. --min-limit=MIN_LIMIT, --min=MIN_LIMIT
  33. A threshold per 'namespace:field' metric in order to
  34. select regions, which have got metric value less 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.lines:comments:1'.
  40. --max-limit=MAX_LIMIT, --max=MAX_LIMIT
  41. A threshold per 'namespace:field' metric in order to
  42. select regions, which have got metric value more than
  43. the specified limit. This option can be specified
  44. multiple times, if it is necessary to apply several
  45. limits. Should be in the format: <namespace>:<field
  46. >:<limit-value>, for example:
  47. 'std.code.complexity:cyclomatic:7'.