1
0
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:
Kelly Brazil
2023-01-23 16:53:06 -08:00
parent 3bb1d89165
commit 0e6cec62c1

View File

@ -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])