summaryrefslogtreecommitdiff
path: root/lib/cli.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-02-18 15:47:08 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-02-18 15:47:08 +0100
commitafbb5e789a3a25ee875333785149559af5e89970 (patch)
tree85f3b7b73ff6cf947d6de3e75add64429eea4afd /lib/cli.py
parente1033f50fd5eabf20d2d0e0abef672d9c67e8b59 (diff)
move --log-level and --info to cli.py
Diffstat (limited to 'lib/cli.py')
-rw-r--r--lib/cli.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 91f2add..7995fc7 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -123,6 +123,18 @@ def add_standard_arguments(parser):
help="Export model and model quality to LaTeX dataref file",
)
parser.add_argument(
+ "--info",
+ action="store_true",
+ help="Show benchmark information (number of measurements, parameter values, ...)",
+ )
+ parser.add_argument(
+ "--log-level",
+ metavar="LEVEL",
+ choices=["debug", "info", "warning", "error"],
+ default="warning",
+ help="Set log level",
+ )
+ parser.add_argument(
"--show-model-size",
action="store_true",
help="Show model size (e.g. regression tree height and node count)",