From 0aef5eba20f6afeb4e0495ef7a2fa336ad1c8dfc Mon Sep 17 00:00:00 2001 From: Brandon Schneider Date: Wed, 26 Sep 2018 13:59:16 -0500 Subject: [PATCH] keep_jail_on_failure should be a flag Previously it required a boolean. FreeNAS Ticket: #48416 --- iocage_cli/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocage_cli/fetch.py b/iocage_cli/fetch.py index 2d7ab8a54..46d9e7c6d 100644 --- a/iocage_cli/fetch.py +++ b/iocage_cli/fetch.py @@ -60,7 +60,7 @@ def validate_count(ctx, param, value): help="Specify the files to fetch from the mirror.") @click.option("--server", "-s", default="download.freebsd.org", help="Server to fetch from.") -@click.option("--keep_jail_on_failure", "-k", default=False, +@click.option("--keep_jail_on_failure", "-k", default=False, is_flag=True, help="Keep jails on failure") @click.option("--user", "-u", default="anonymous", help="The user to use.") @click.option(