Skip to content

Commit 3f1b056

Browse files
committed
adding --secret
1 parent 52aee37 commit 3f1b056

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

bin/ldnode.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ var argv = require('nomnom')
2222
.option('uriBase', {
2323
full: 'uri',
2424
abbr: 'u',
25-
metavar: 'URI',
2625
help: 'Default address of the server (e.g. http[s]://host:port/path)'
2726
})
2827
.option('fileBase', {
2928
abbr: 'b',
30-
metavar: 'PATH',
3129
full: 'path',
3230
help: 'Base location to serve resources'
3331
})
@@ -66,7 +64,11 @@ var argv = require('nomnom')
6664
.option('webidCert', {
6765
help: 'Path to the webid cert',
6866
full: 'webid-cert',
69-
abbr: 'c'
67+
abbr: 'c',
68+
})
69+
.option('secret', {
70+
help: 'HTTP Session secret key (e.g. "your secret phrase")',
71+
abbr: 's'
7072
})
7173
.parse();
7274

0 commit comments

Comments
 (0)