Shorten the skipped-device message, full text behind a flag
This commit is contained in:
@@ -172,6 +172,7 @@ def cmd_discover_anker(args):
|
||||
only_sn=args.sn,
|
||||
skip=args.skip,
|
||||
include_offline=args.include_offline,
|
||||
explain_skipped=args.explain_skipped,
|
||||
)
|
||||
)
|
||||
print()
|
||||
@@ -1319,6 +1320,11 @@ def build_parser():
|
||||
action="store_true",
|
||||
help="try devices the cloud reports as not connected",
|
||||
)
|
||||
anker_parser.add_argument(
|
||||
"--explain-skipped",
|
||||
action="store_true",
|
||||
help="print the full reason when a device is skipped",
|
||||
)
|
||||
anker_parser.set_defaults(func=cmd_discover_anker)
|
||||
|
||||
shelly_parser = subparsers.add_parser(
|
||||
|
||||
Reference in New Issue
Block a user