Fixed parameters

This commit is contained in:
Benjamin Stigsen 2019-05-09 20:40:21 +02:00 committed by GitHub
parent 37e0160a35
commit b2a8596560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -8,9 +8,9 @@ options = {
program
.version('0.1.1')
.option('-t, --title [title]', 'give blog a title')
.option('-t, --subtitle [subtitle]', 'give blog asubtitle', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.')
.option('-t, --pagetitle [pagetitle]', 'give page a title')
.option('-t, --folder [folder]', 'give folder a title')
.option('-s, --subtitle [subtitle]', 'give blog asubtitle', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.')
.option('-p, --pagetitle [pagetitle]', 'give page a title')
.option('-f, --folder [folder]', 'give folder a title')
.parse(process.argv);
function createBlog(title, subtitle, pagetitle, folder) {