summaryrefslogtreecommitdiff
path: root/localikiwikicreatesite
diff options
context:
space:
mode:
authorroot <root@jones.dk>2008-07-15 19:19:44 +0200
committerroot <root@jones.dk>2008-07-15 19:19:44 +0200
commit2414858494e2ecd4d1f2494b751ad2637bc9f6ca (patch)
treeac9628c143533bcb2143acb1b7ec5d552f3c557b /localikiwikicreatesite
parent46a1f666760ebbe700c516dcf134e0ed65f58893 (diff)
Fix resolving domain and srcdomain options.
Diffstat (limited to 'localikiwikicreatesite')
-rwxr-xr-xlocalikiwikicreatesite4
1 files changed, 2 insertions, 2 deletions
diff --git a/localikiwikicreatesite b/localikiwikicreatesite
index 59b40ac..8014722 100755
--- a/localikiwikicreatesite
+++ b/localikiwikicreatesite
@@ -91,8 +91,8 @@ git_init_work() {
while true ; do
case "$1" in
- -d|--domain) domain="$1"; shift 2;;
- -s|--srcdomain) srcdomain="$1"; shift 2;;
+ -d|--domain) domain="$2"; shift 2;;
+ -s|--srcdomain) srcdomain="$2"; shift 2;;
-f|--force) force="1"; shift;;
-h|--help) showhelp; exit 0;;
--) shift; break;;