3 ms·
Is there such a thing as POSIX-compliant argument descriptions? I know POSIX specifies some things about the format of options, but I didn't realize there was a
by michaelmior 12y ago
Is there such a thing as POSIX-compliant argument descriptions? I know POSIX specifies some things about the format of options, but I didn't realize there was a formalized option description language.
- euid 12y agoYes. IEEE Std. 1003.1 Utility Conventions http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_... This is actually how Docopt happened (Vladimir Keleshev mentioned it in the PyCon UK 2012 talk).
- michaelmior 12y agoCool! Thanks for the reference :)
- agumonkey 12y agoMe neither, I thought docopt was a hardcoded fragile thing, until the author explains everything is almost perfectly defined.