Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

config: move action as required argument for debug subcommand only#71

Merged
Wenzel merged 2 commits intoIntelLabs:masterfrom
Wenzel:fix/debug_action
Sep 6, 2023
Merged

config: move action as required argument for debug subcommand only#71
Wenzel merged 2 commits intoIntelLabs:masterfrom
Wenzel:fix/debug_action

Conversation

@Wenzel
Copy link
Copy Markdown
Contributor

@Wenzel Wenzel commented Sep 6, 2023

The action argument is only used by the debug subcommand.
Furthermore, it's a required argument that should be constrained by the command line when invoking the debug subcommand.

This PR updates the cmdline parser so that the action argument will only be added to the debug options subgroup.

kafl cov --help:
image

kafl debug --help:
image

kafl debug:
image

@Wenzel Wenzel requested a review from il-steffen September 6, 2023 12:13
@Wenzel Wenzel merged commit f775883 into IntelLabs:master Sep 6, 2023
@Wenzel Wenzel deleted the fix/debug_action branch September 6, 2023 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants