From 910b4ccf856c89c534196ff86fc20ecee1860ecc Mon Sep 17 00:00:00 2001 From: Alexander Kislitsky Date: Thu, 22 Sep 2016 16:29:43 +0300 Subject: [PATCH] Documentation and CLI command description fixed Change-Id: I6a4cf58bfd5250e44363cd4a6895bcc24ea5552a --- README.md | 8 ++++---- fuel_external_git/fuelclient.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 371efc8..5298397 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ Deployed Fuel 9.0 (Mitaka) Master Node Execute following commands on Fuel Master node ``` # yum install git python-pip -# git clone https://github.com/dukov/fuel-external-git -# cd fuel-external-git +# git clone https://github.com/openstack/fuel-nailgun-extension-iac +# cd fuel-nailgun-extension-iac # pip install -r requirements.txt # python setup.py install # nailgun_syncdb -# service nailgun reload +# systemctl restart nailgun.service ``` ### How to Use @@ -48,7 +48,7 @@ fuel2 gitrepo create --env 1 --name oscnf1 --url git@github.com:dukov/oscnf.git ``` fuel2 gitrepo init [-h] --repo REPO - --repo REPO Repo ID to delete + --repo REPO Repo ID to init ``` For example: ``` diff --git a/fuel_external_git/fuelclient.py b/fuel_external_git/fuelclient.py index 0b25ced..d6180f8 100644 --- a/fuel_external_git/fuelclient.py +++ b/fuel_external_git/fuelclient.py @@ -249,7 +249,7 @@ class InitRepo(command.Command): parser = super(InitRepo, self).get_parser(prog_name) parser.add_argument('--repo', type=int, - help='Repo ID to delete', + help='Repo ID to init', required=True) return parser