summaryrefslogtreecommitdiffstats
path: root/bin/gitbook.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-14 19:48:12 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-14 19:48:12 +0200
commit05f1eed9cee6ba0cbffb3285803fd6e9760291ef (patch)
treedbe1340b916dddeb817dabef6a9a6f9832853dd2 /bin/gitbook.js
parentc0ca055bf4c5cbc776b2822afaa3a1efb1b97c19 (diff)
downloadgitbook-05f1eed9cee6ba0cbffb3285803fd6e9760291ef.zip
gitbook-05f1eed9cee6ba0cbffb3285803fd6e9760291ef.tar.gz
gitbook-05f1eed9cee6ba0cbffb3285803fd6e9760291ef.tar.bz2
Fix #91: Extract defaults title and description from README.md
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-xbin/gitbook.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js
index e3d8a36..773e566 100755
--- a/bin/gitbook.js
+++ b/bin/gitbook.js
@@ -21,8 +21,8 @@ var buildCommand = function(command) {
return command
.option('-o, --output <directory>', 'Path to output directory, defaults to ./_book')
.option('-f, --format <name>', 'Change generation format, defaults to site, availables are: '+_.keys(generators).join(", "))
- .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('-t, --title <name>', 'Name of the book to generate, default is extracted from readme')
+ .option('-i, --intro <intro>', 'Description of the book to generate, default is extracted from readme')
.option('-g, --github <repo_path>', 'ID of github repo like : username/repo')
.option('--githubHost <url>', 'The url of the github host (defaults to https://github.com/')
.option('--theme <path>', 'Path to theme directory');