Message ID | 20241114205231.252497-1-jkacur@redhat.com |
---|---|
State | New |
Headers | show |
Series | [1/2] rteval: preface idle-set IDLESTATE with --measurement | expand |
diff --git a/rteval/modules/__init__.py b/rteval/modules/__init__.py index 98276514de95..d60877783670 100644 --- a/rteval/modules/__init__.py +++ b/rteval/modules/__init__.py @@ -298,7 +298,7 @@ reference from the first import""" action = "store_true", default = config.GetSection("measurement").setdefault("run-on-isolcpus", "false").lower() == "true", help = "Include isolated CPUs in default cpulist") - grparser.add_argument('--idle-set', + grparser.add_argument(f'--{self.__modtype}-idle-set', dest='measurement___idlestate', metavar='IDLESTATE', default=None,
Setting the idle state belongs to the Group Options for measurement modules and thus should be prefaced with --measurement just like the other options in that group. This change fixes that. Signed-off-by: John Kacur <jkacur@redhat.com> --- rteval/modules/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)