From c3c1b84ed1fe9f079fec3d1b168142f4f3434fed Mon Sep 17 00:00:00 2001 From: Tan Jiang Date: Mon, 20 Feb 2017 11:16:55 +0800 Subject: [PATCH] preparae --conf instead of -conf --- Makefile | 2 +- make/prepare | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 974118b9c..5bfe19d32 100644 --- a/Makefile +++ b/Makefile @@ -204,7 +204,7 @@ compile:check_environment $(COMPILETAG) prepare: @echo "preparing..." - @$(MAKEPATH)/$(PREPARECMD) -conf $(CONFIGPATH)/$(CONFIGFILE) + @$(MAKEPATH)/$(PREPARECMD) --conf $(CONFIGPATH)/$(CONFIGFILE) build_common: version @echo "buildging db container for photon..." diff --git a/make/prepare b/make/prepare index 2610d5fa2..02e763690 100755 --- a/make/prepare +++ b/make/prepare @@ -59,7 +59,7 @@ config_dir = os.path.join(base_dir, "common/config") templates_dir = os.path.join(base_dir, "common/templates") parser = argparse.ArgumentParser() -parser.add_argument('-conf', dest='cfgfile', default=base_dir+'/harbor.cfg',type=str,help="the path of Harbor configuration file") +parser.add_argument('--conf', dest='cfgfile', default=base_dir+'/harbor.cfg',type=str,help="the path of Harbor configuration file") args = parser.parse_args()