Commit e01b54f6 authored by rockyl's avatar rockyl

init

parent 875b7fed
...@@ -19,7 +19,7 @@ program ...@@ -19,7 +19,7 @@ program
.option('-v, --verbose [boolean]', 'verbose mode', false) .option('-v, --verbose [boolean]', 'verbose mode', false)
.parse(process.argv); .parse(process.argv);
if(!program.input || program.output){ if(!program.input || !program.output){
console.warn('parameter is incorrect'); console.warn('parameter is incorrect');
process.exit(1); process.exit(1);
} }
......
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