« Previous | Next » 

Revision b33d9050

IDb33d9050cce4eabdd1ddc6cfe37ad19a1638542b

Added by Stavros Sachtouris over 5 years ago

Disable argument abbreviation

Refs: #4865

Implementaton details: subclass ArgumentParser and override the
_get_option_tuples method. Replace option_string comparison
operator: == instead of .startswith
The rest of the method code is copy-pasted from python 2.7.3 argparse

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences