Disable argument abbreviation
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Thu, 30 Jan 2014 15:56:06 +0000 (17:56 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Thu, 30 Jan 2014 15:56:06 +0000 (17:56 +0200)
commitb33d9050cce4eabdd1ddc6cfe37ad19a1638542b
treed11f99107bc059a0b1b5717bd8b69f360011026a
parentbd71a1a3ead18e94ed1e2b27016d7eb61a36eb25
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
kamaki/cli/argument/__init__.py