Shorten the skipped-device message, full text behind a flag

This commit is contained in:
Sterling Archer
2026-08-12 10:13:51 -07:00
parent 04bdb0f150
commit eb0a499aad
3 changed files with 26 additions and 6 deletions
+6
View File
@@ -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(