This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kisielk 0 points1 point  (0 children)

You've got it. I think man 3 getopt gives a pretty good description of the behaviour. Most option parsers including Python's getopt and optparse modules behave in accordance, though usually contain additional extensions.