Commit 3530271d authored by Tim Neutkens's avatar Tim Neutkens

Allow single —page

parent b9fb5767
......@@ -29,7 +29,7 @@ if (argv.help) {
}
const dir = resolve(argv._[0] || '.')
const pages = argv.page
const pages = typeof argv.page === 'string' ? [argv.page] : argv.page
// Check if pages dir exists and warn if not
if (!existsSync(dir)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment