diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/build.js | 1 | ||||
-rwxr-xr-x | bin/gitbook.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/build.js b/bin/build.js index 6050b88..4f7429a 100644 --- a/bin/build.js +++ b/bin/build.js @@ -42,6 +42,7 @@ var buildFunc = function(dir, options) { title: title, description: options.intro, github: githubID, + githubHost: options.githubHost, generator: options.format, theme: options.theme }) 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); } |