Open mknejp opened 3 months ago
I second this. I have not yet seen any command line tool that allows multiple subcommands to be executed. Usually it's just one, and any following ones are discarded. Common examples are conan
, cryptsetup
and cargo
.
When one defines multiple commands at the same level
Then the following invocation
exec foo bar
printsI think the expectation here is that only one command is recognized and the other rejected as a syntax error.
Note that this differs from nesting commands like this
Which when invoked with
exec foo bar
printsAnd works as expected.