[issue39779] [argparse] Add parameter to sort help output arguments

2020-02-28 Thread brian.gallagher
brian.gallagher added the comment: That makes sense. For what it's worth, the use-case that inspired this was for commands with a lot of optional arguments in a company where a large amount of contributors (who may not be aware of an effort to order the arguments in the source code) were abl

[issue39779] [argparse] Add parameter to sort help output arguments

2020-02-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the suggestion, but I am going to decline. Since the parser remembers the order the arguments were added, the programmer already has complete control over the ordering of arguments. -- nosy: +rhettinger resolution: -> rejected stage:

[issue39779] [argparse] Add parameter to sort help output arguments

2020-02-27 Thread brian.gallagher
New submission from brian.gallagher : 1 import argparse 2 3 parser = argparse.ArgumentParser(description='Test')