0

Does anyone know the term for this form of command-line syntax notation? For instance, when specifying command-line arguments:

key[,alignment][:format]

So that key is a required argument, and can be followed by a space and an alignment parameter, which can also be followed by a colon and a format.

It's not BNF. Is there a name for this?

1 Answer 1

1

Command line argument from Wikipedia lists a couple of terms for the switch, options or flags syntax depending on what operating system and program you are using.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.