diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-26 21:29:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-26 21:29:41 +0200 |
commit | d878ecbe47634d210af716edbdffffa0f8b2b34d (patch) | |
tree | fd079e090f048318357a220c62f52589b48d79f2 /src/test.py | |
parent | update pkgbuild (diff) | |
download | argparser-d878ecbe47634d210af716edbdffffa0f8b2b34d.tar.gz argparser-d878ecbe47634d210af716edbdffffa0f8b2b34d.tar.bz2 argparser-d878ecbe47634d210af716edbdffffa0f8b2b34d.tar.xz |
issue 7, python version
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-x | src/test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test.py b/src/test.py index 26e9ff3..0cfd242 100755 --- a/src/test.py +++ b/src/test.py @@ -37,7 +37,8 @@ parser = ArgParser('A test for argparser', 'test [options] [files]', 'GNU Affero General Public License for more details.\n' '\n' 'You should have received a copy of the GNU Affero General Public License\n' - 'along with this library. If not, see <http://www.gnu.org/licenses/>.', None, True) + 'along with this library. If not, see <http://www.gnu.org/licenses/>.', + None, True, ArgParser.standard_abbreviations()) parser.add_argumentless(['-h', '-?', '--help'], 0, 'Prints this help message\n(and exits)') parser.add_argumentless(['--hello'], 0, 'Prints the text: hello world') |