Debian Codegraph @

debian/patches/0003-Support-a-help-option.patch

raw symbols SCIP
1 Fromscip-debian debian node-tap-mocha-reporter 5.0.4+~2.1.0-4 node-tap-mocha-reporter/patches/`0003-Support-a-help-option.patch`#From.: =?utf-8?q?Bastien_ROUCARI=C3=88S?= <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Datescip-debian debian node-tap-mocha-reporter 5.0.4+~2.1.0-4 node-tap-mocha-reporter/patches/`0003-Support-a-help-option.patch`#Date.: Tue, 22 Aug 2017 14:46:56 +0200
3 Subjectscip-debian debian node-tap-mocha-reporter 5.0.4+~2.1.0-4 node-tap-mocha-reporter/patches/`0003-Support-a-help-option.patch`#Subject.: Support a --help option
4
5 forwarded: yes, https://github.com/lyroyce/mocha-tap-reporter/issues/5
6 bug: https://github.com/lyroyce/mocha-tap-reporter/issues/5
7 ---
8 index.js | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11 --- a/index.jsscip-debian debian node-tap-mocha-reporter 5.0.4+~2.1.0-4 node-tap-mocha-reporter/upstream/`index.js`:
12 +++ b/index.jsscip-debian debian node-tap-mocha-reporter 5.0.4+~2.1.0-4 node-tap-mocha-reporter/upstream/`index.js`:
13 @@ -91,7 +91,7 @@
14
15 if (require.main === module) {
16 var type = process.argv[2]
17 - if (!type)
18 + if (!type || type == '--help' || type == '-h')
19 return usage()
20
21 process.stdin.pipe(new Formatter(type))