Skip to content

Commit

Permalink
Show help with "-h" or "--help" in vttextract
Browse files Browse the repository at this point in the history
(cherry picked from commit 9fb75af)
  • Loading branch information
Rafostar committed Apr 16, 2020
1 parent f768b79 commit 450a14f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node_scripts/utils/vttextract.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ function parseArgs()
case '--recursive':
opts.recursive = true;
break;
case '-h':
case '--help':
return false;
default:
if(!opts.inPath)
opts.inPath = process.argv[i];
Expand Down

0 comments on commit 450a14f

Please sign in to comment.