summaryrefslogtreecommitdiffstats
path: root/bin/gitbook.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-07 10:42:55 -0700
committerSamy Pessé <samypesse@gmail.com>2014-04-07 10:42:55 -0700
commit2182baa2e9bf520943871c52340066cfdd28ba0b (patch)
tree900a1147459470e22b33a75a081ea5c48964cb8c /bin/gitbook.js
parent9d541a0a4dcab738591375477c908534e9d25974 (diff)
parent7fe189907ecdaf0625ab21db25b19a643d741f73 (diff)
downloadgitbook-2182baa2e9bf520943871c52340066cfdd28ba0b.zip
gitbook-2182baa2e9bf520943871c52340066cfdd28ba0b.tar.gz
gitbook-2182baa2e9bf520943871c52340066cfdd28ba0b.tar.bz2
Merge pull request #51 from calmdev/fix/gh-enterprise
Fixes --githubHost option for use with Github Enterprise.
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-xbin/gitbook.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js
index ab6e043..4ffa6cf 100755
--- a/bin/gitbook.js
+++ b/bin/gitbook.js
@@ -23,7 +23,7 @@ var buildCommand = function(command, action) {
.option('-t, --title <name>', 'Name of the book to generate, defaults to repo name')
.option('-i, --intro <intro>', 'Description of the book to generate')
.option('-g, --github <repo_path>', 'ID of github repo like : username/repo')
- .option('-gh, --githubHost <url>', 'The url of the github host (defaults to https://github.com/')
+ .option('--githubHost <url>', 'The url of the github host (defaults to https://github.com/')
.option('--theme <path>', 'Path to theme directory')
.action(action);
}