From e319368805c9141100aa2126e73b5f8cdad626e9 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Wed, 30 Dec 2020 20:41:52 +0100 Subject: [PATCH] Convert bool options to bool flags --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 9c686c9..9739a31 100644 --- a/main.py +++ b/main.py @@ -140,8 +140,8 @@ class PodKeeper: @click.command() @click.option("--network", default="brodge", help="Network for the created pod") -@click.option("--replace", default=True, help="Replace previously running pod with the same name") -@click.option("--remove", default=True, help="Remove pod after stopping") +@click.option("--replace/--no-replace", default=True, help="Controls replacement of previously running pod with the same name") +@click.option("--remove/--keep", default=True, help="Controls removal of pod after stopping") @click.argument("identifier") def main(network, replace, remove, identifier): keeper = PodKeeper(network, replace, remove, identifier)