Remove double definition of scan parser

Fixes #353
This commit is contained in:
Nico Schottelius 2022-12-26 20:59:16 +01:00
parent bdfd92dc37
commit b974969f28

View file

@ -472,9 +472,6 @@ def get_parsers():
parser['info'].set_defaults(func=cdist.info.Info.commandline)
# Scan = config + further
parser['scan'] = parser['sub'].add_parser('scan', add_help=False,
parents=[parser['config']])
parser['scan'] = parser['sub'].add_parser(
'scan', parents=[parser['loglevel'],
parser['beta'],