I see it is possible to have arguments like -a with no value, but how does **the code** know the input is -a with no value?
I see it is possible to have arguments like
-a
with no value, but how does the code know the input is -a with no value?