[New-bugs-announce] [issue12713] argparse: allow abbreviation of sub commands by users
report at bugs.python.org
Tue Aug 9 03:55:57 CEST 2011
New submission from Peter Williams <pwil3058 at bigpond.net.au>:
Quite often the names of subcommands are quite long so that their meaning is clear. However, the downside to this is the increased typing the user of the command must make. A compromise between clarity and brevity can be realized if abbreviation of subcommands is allowed with the proviso that the abbreviation must be long enough to remove any ambiguity.
So that this feature is not foisted on every programmer that uses argparse it could be made an option to the ArgumentParser class with the (possible) additional refinement of specifying a minimum number of characters for the abbreviations.
components: Library (Lib)
title: argparse: allow abbreviation of sub commands by users
type: feature request
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce