Thread (95 messages) 95 messages, 3 authors, 2026-01-23

Re: [PATCH 24/26] rv/rvgen: make monitor arguments required in rvgen

From: Nam Cao <hidden>
Date: 2026-01-22 15:44:31
Also in: lkml

Wander Lairson Costa [off-list ref] writes:
Add required=True to the monitor subcommand arguments for class, spec,
and monitor_type in rvgen. These arguments are essential for monitor
generation and attempting to run without them would cause AttributeError
exceptions later in the code when the script tries to access them.

Making these arguments explicitly required provides clearer error
messages to users at parse time rather than cryptic exceptions during
execution. This improves the user experience by catching missing
arguments early with helpful usage information.

Signed-off-by: Wander Lairson Costa <redacted>
Reviewed-by: Nam Cao <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help