Replies: 1 comment
-
I'm not 100% sure where the confusion lies, but FWIW |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
i have the following code in which i want to pass a name and a command that will be exec'ed. I want it to fail if the
Name
argument is not passed but it doesnt work as i thought it would.this works as expected:
But I was expecting that if i failed to pass the
Name
argument i would get an error but i dont:I seem to be able to achieve this with a flag, but im curious if this behaviour can be achiaved with a argument (as that seems more correct).
Thanks!
Will.
Beta Was this translation helpful? Give feedback.
All reactions