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
Post a Comment