diff --git a/README.md b/README.md index 5968f33..f7e67a6 100644 --- a/README.md +++ b/README.md @@ -63,19 +63,6 @@ Or latest development version from GitHub: pip3 install https://github.com/containers/podman-compose/archive/devel.tar.gz ``` -or - -``` -curl -o /usr/local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py -chmod +x /usr/local/bin/podman-compose -``` - -or inside your home - -``` -curl -o ~/.local/bin/podman-compose https://raw.githubusercontent.com/containers/podman-compose/devel/podman_compose.py -chmod +x ~/.local/bin/podman-compose -``` or install from Fedora (starting from f31) repositories: diff --git a/podman_compose.py b/podman_compose.py index ec5fcc2..2d30b03 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -38,7 +38,7 @@ except ImportError: import yaml from dotenv import dotenv_values -__version__ = "1.0.4" +__version__ = "1.0.6" script = os.path.realpath(sys.argv[0]) @@ -342,7 +342,7 @@ def norm_ulimit(inner_value): def transform(args, project_name, given_containers): - if args.no_pod: + if not args.in_pod: pod_name = None pods = [] else: @@ -1663,9 +1663,10 @@ class PodmanCompose: def _init_global_parser(parser): parser.add_argument("-v", "--version", help="show version", action="store_true") parser.add_argument( - "--no-pod", - help="disable pod creation", - action="store_true", + "--in-pod", + help="pod creation", + metavar="in_pod", + type=bool, default=False, ) parser.add_argument(