We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e19d0ac commit 0ed269eCopy full SHA for 0ed269e
1 file changed
bin/ldnode.js
@@ -1,5 +1,8 @@
1
#!/bin/env node
2
3
+var fs = require('fs');
4
+var path = require('path');
5
+
6
var argv = require('nomnom')
7
.option('verbose', {
8
abbr: 'v',
@@ -66,6 +69,10 @@ var argv = require('nomnom')
66
69
})
67
70
.parse();
68
71
72
+if (argv.version) {
73
+ return;
74
+}
75
76
argv.webid = !argv.noWebid;
77
process.env.DEBUG = argv.verbose ? 'ldnode:*' : false;
78
var debug = require('../logging').server;
0 commit comments