python - Command-line Options: Should short options be restricted to 1 character? -


i'm trying head around command-line arguments python , have been reading standard library documentation argparse module. mention concept of short , long form command-line options, short form options specified single dash, - (eg -f), , long form options specified 2 dashes, -- (eg --filename).

nowhere describe difference between short form , long form options, except 1 shorter other. after googling concepts seems me short form options originated long ago in c. single character.

my question is, should continue use single character short form command-line options in python? users expect? or acceptable use 2 of 3 character abbreviations in short options (eg -fn)?


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -