fix: the --all-as-mirrors flag itself was never added

The function landed but the argparse anchor did not match the real formatting,
so the command existed and could not be invoked. Caught by running it rather
than assuming the patch applied.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Grant Whitmer
2026-08-12 22:43:22 -04:00
parent ae6ca8b9d2
commit 711c47d8c9

View File

@@ -207,6 +207,10 @@ def main() -> int:
"--mirror", action="store_true", "--mirror", action="store_true",
help="import read-only pull mirrors instead of writable repos. NOTE: mirrors CANNOT run CI.", help="import read-only pull mirrors instead of writable repos. NOTE: mirrors CANNOT run CI.",
) )
ap.add_argument(
"--all-as-mirrors", action="store_true",
help="bulk DR copy: every active repo on the account, read-only, no CI, zero deploy risk",
)
args = ap.parse_args() args = ap.parse_args()
if args.list_candidates: if args.list_candidates: