From 7aed353a52c132b96e5989b659a1387141b96865 Mon Sep 17 00:00:00 2001 From: Yang Yang Date: Wed, 28 Oct 2020 04:37:49 +0800 Subject: [PATCH] update action --- tools/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/helper.py b/tools/helper.py index ac6f46be6..63e192a5a 100755 --- a/tools/helper.py +++ b/tools/helper.py @@ -13,14 +13,14 @@ def main(): build_parser = subparsers.add_parser("build", prog="build") build_parser.add_argument("--dry-run", action="store_true") build_parser.add_argument("--no-cache", action="store_true") - build_parser.add_argument("--platform", action="append") + build_parser.add_argument("--platform", "-p", action="append") build_parser.add_argument("images", type=str, nargs="*") push_parser = subparsers.add_parser("push") push_parser.add_argument("--dirty-push", action="store_true") push_parser.add_argument("--dry-run", action="store_true") push_parser.add_argument("--no-cache", action="store_true") - push_parser.add_argument("--platform", action="append") + push_parser.add_argument("--platform", "-p", action="append") push_parser.add_argument("images", type=str, nargs="*") subparsers.add_parser("test")