mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-17 01:32:37 +02:00
remove unneeded slicer syntax check
This commit is contained in:
@ -763,9 +763,8 @@ class JcCli():
|
||||
# find options if magic_parser did not find a command
|
||||
if not self.magic_found_parser:
|
||||
for opt in self.args:
|
||||
if ':' in opt:
|
||||
if SLICER_RE.match(opt):
|
||||
self.slice_str = opt
|
||||
if SLICER_RE.match(opt):
|
||||
self.slice_str = opt
|
||||
|
||||
if opt in long_options_map:
|
||||
self.options.extend(long_options_map[opt][0])
|
||||
|
Reference in New Issue
Block a user