diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-14 19:05:23 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-14 19:05:23 +0200 |
commit | f43e630528be43d5aec4e6f923b0f53107f93546 (patch) | |
tree | 944324c8f612282fdc610aa0946b84936f0d161e /bin/gitbook.js | |
parent | e4fa8aaca76ae3a49cf9995e7c84e3f63dc15532 (diff) | |
download | gitbook-f43e630528be43d5aec4e6f923b0f53107f93546.zip gitbook-f43e630528be43d5aec4e6f923b0f53107f93546.tar.gz gitbook-f43e630528be43d5aec4e6f923b0f53107f93546.tar.bz2 |
Fix ebook and pdf generator
Diffstat (limited to 'bin/gitbook.js')
-rwxr-xr-x | bin/gitbook.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js index e01b511..e3d8a36 100755 --- a/bin/gitbook.js +++ b/bin/gitbook.js @@ -56,7 +56,7 @@ buildCommand(prog.command('pdf [source_dir]')) .action(function(dir, options) { build.file(dir, _.extend(options, { extension: "pdf", - format: "pdf" + generator: "pdf" })); }); @@ -68,7 +68,7 @@ buildCommand(prog.command('ebook [source_dir]')) build.file(dir, _.extend(options, { extension: ext, - format: "ebook" + generator: "ebook" })); }); |