Fix up arguments parsing

These is already parsed here
502d7cc206/podman_compose.py (L1644)
This commit is contained in:
Anatoli Babenia 2021-09-02 17:14:31 +03:00 committed by Muayyad Alsadi
parent ae3deb19dc
commit f177712585

View File

@ -1612,8 +1612,6 @@ def compose_up_parse(parser):
help="Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present.") help="Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present.")
parser.add_argument("--exit-code-from", metavar='SERVICE', type=str, default=None, parser.add_argument("--exit-code-from", metavar='SERVICE', type=str, default=None,
help="Return the exit code of the selected service container. Implies --abort-on-container-exit.") help="Return the exit code of the selected service container. Implies --abort-on-container-exit.")
parser.add_argument('services', metavar='SERVICES', nargs='*',
help='service names to start')
@cmd_parse(podman_compose, 'run') @cmd_parse(podman_compose, 'run')
def compose_run_parse(parser): def compose_run_parse(parser):