Skip to content

Commit

Permalink
proper config file key
Browse files Browse the repository at this point in the history
  • Loading branch information
kbariotis committed Mar 19, 2016
1 parent 8098707 commit 7f2e03d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/rtail-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ let argv = yargs
.version(pkg.version, 'version')
.alias('version', 'v')
.strict()
.config('--config-file', 'Configuration file path', function (configFile) {
.config('config-file', 'Configuration file path', function (configFile) {
return JSON.parse(fs.readFileSync(configFile, 'utf-8')).client
})
.argv
Expand Down
2 changes: 1 addition & 1 deletion cli/rtail-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ let argv = yargs
.version(pkg.version, 'version')
.alias('version', 'v')
.strict()
.config('--config-file', 'Configuration file path', function (configFile) {
.config('config-file', 'Configuration file path', function (configFile) {
return JSON.parse(fs.readFileSync(configFile, 'utf-8')).server
})
.argv
Expand Down

0 comments on commit 7f2e03d

Please sign in to comment.