diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-05-31 09:15:54 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-05-31 09:15:54 +0200 |
commit | 8932e4c07e0d3292fe44c19a3bdeefcce68e4bc1 (patch) | |
tree | ef327da4be2bdb15cd1bbc47d145e7f0fa7a5d5b | |
parent | 2f824d8429f0aa8b29cbc7c15aade23f42878b16 (diff) |
create image: --client-ip option is required
--client-ip option is required when parsing a 'create image' command,
it is the only client selection option for 'create image'
command.
-rw-r--r-- | cli/objects/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/objects/images.py b/cli/objects/images.py index 89d57c2..577b648 100644 --- a/cli/objects/images.py +++ b/cli/objects/images.py @@ -126,7 +126,7 @@ class OgImage(): group.add_argument('--client-ip', action='append', default=[], - required=False, + required=True, help='Specific client IP') parsed_args = parser.parse_args(args) |