From 06915dd2b78fb2aaef842fb7105b164fc3c67413 Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Thu, 11 May 2017 00:05:12 +0800 Subject: Set installer and master-host as required options missing these options will cause failure in workspace creation Change-Id: I701b080d7f6b2deb7f71e76da322d26b20cd3b42 Signed-off-by: Yujun Zhang --- qtip/cli/commands/cmd_workspace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtip/cli/commands') diff --git a/qtip/cli/commands/cmd_workspace.py b/qtip/cli/commands/cmd_workspace.py index 42d4e2d5..f6f9fc57 100644 --- a/qtip/cli/commands/cmd_workspace.py +++ b/qtip/cli/commands/cmd_workspace.py @@ -22,8 +22,8 @@ def cli(): @cli.command("create", help="Create QTIP workspace") @click.option('--pod', default='unknown', help='Name of pod under test') -@click.option('--installer', help='OPNFV installer') -@click.option('--master-host', help='Installer hostname') +@click.option('--installer', help='OPNFV installer', required=True) +@click.option('--master-host', help='Installer hostname', required=True) @click.option('--scenario', default='unknown', help='OPNFV scenario') @click.argument('name') def create(pod, installer, master_host, scenario, name): -- cgit 1.2.3-korg