-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem/Opportunity
When running xts <alias name> --help it prints the help message from yaml runner. This displays showing the "prog" name given to YamlRunner followed by available options.
Currently, only xts is passed to YamlRunner meaning when the help message prints it only displays as xts <options> as if the options could be run without using the alias name.
Steps to reproduce
No response
Expected Behavior
The prog name should display as the combination xts and the alias name used, so the usage message displayed is the actual command a user could run.
Usage: xts hello_world [-h] {run} ...
Positional Arguments:
{run}
run Run a command.
Options:
-h, --help show this help message and exit
Actual Behavior
The command run here was xts hello_world --help
Usage: xts [-h] {run} ...
Positional Arguments:
{run}
run Run a command.
Options:
-h, --help show this help message and exit
But the usage does not show hello_world, instead it displays as if run can be used without the alias name.
Notes (Optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working