mirror of
https://github.com/codingo/Interlace.git
synced 2025-12-18 07:14:20 +01:00
Fixed parser requirements bug
This commit is contained in:
@@ -113,20 +113,17 @@ class InputParser(object):
|
|||||||
type=lambda x: InputHelper.readable_file(parser, x)
|
type=lambda x: InputHelper.readable_file(parser, x)
|
||||||
)
|
)
|
||||||
|
|
||||||
commands = parser.add_mutually_exclusive_group(required=True)
|
parser.add_argument(
|
||||||
commands.add_argument(
|
|
||||||
'-o', dest='output',
|
'-o', dest='output',
|
||||||
help='Specify an output folder variable that can be used in commands as $output'
|
help='Specify an output folder variable that can be used in commands as $output'
|
||||||
)
|
)
|
||||||
|
|
||||||
commands = parser.add_mutually_exclusive_group(required=True)
|
parser.add_argument(
|
||||||
commands.add_argument(
|
|
||||||
'-p', dest='port',
|
'-p', dest='port',
|
||||||
help='Specify a port variable that can be used in commands as $port'
|
help='Specify a port variable that can be used in commands as $port'
|
||||||
)
|
)
|
||||||
|
|
||||||
commands = parser.add_mutually_exclusive_group(required=True)
|
parser.add_argument(
|
||||||
commands.add_argument(
|
|
||||||
'-rp', dest='realport',
|
'-rp', dest='realport',
|
||||||
help='Specify a real port variable that can be used in commands as $realport'
|
help='Specify a real port variable that can be used in commands as $realport'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user