1
0
mirror of synced 2026-05-03 14:58:48 +00:00

Fix "--extension=" with empty parameter

This commit is contained in:
Axel Beckert
2013-01-17 21:57:50 +01:00
parent 13dbf65793
commit c6caa0a0ad
5 changed files with 5 additions and 6 deletions

View File

@@ -1668,7 +1668,7 @@ sub parseCommandLineArguments
"keep", \$CONFIG{ 'keep' },
"template=s", \&checkOption,
"output=s", \&checkOption,
"extension=s", \&checkOption,
"extension:s", \&checkOption,
"dontformat", \&checkOption,
# Help options

View File

@@ -215,7 +215,7 @@ sub parseCommandLineArguments
#
GetOptions( "admins=s", \$ENV{ 'admins' },
"output=s", \$CONFIG{ 'output' },
"extension=s", \$CONFIG{ 'extension' },
"extension:s", \$CONFIG{ 'extension' },
"template=s", \$CONFIG{ 'template' },
"verbose", \$CONFIG{ 'verbose' },
"help", \$HELP,