Long command line arguments is chosen even though its full name hasn't been provided.
Given command line argument:
erd --ed
Should output:
unrecognized option "--ed"
But instead it outputs:
option "--ed" requires argument EDGE
It seems that if just part of the name of the argument matches, it matches the option with the corresponding full name. ( i.e --ed matches to --edge )
I don't know whether this is intentional but I'm guessing that it isn't.
Long command line arguments is chosen even though its full name hasn't been provided. Given command line argument:
erd --ed
Should output:unrecognized option "--ed"
But instead it outputs:option "--ed" requires argument EDGE
It seems that if just part of the name of the argument matches, it matches the option with the corresponding full name. ( i.e--ed
matches to--edge
) I don't know whether this is intentional but I'm guessing that it isn't.