Skip to content

Commit

Permalink
docs: fix a option description for config
Browse files Browse the repository at this point in the history
  • Loading branch information
LiKang6688 committed Sep 20, 2022
1 parent 50254fa commit 70a9939
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commands/build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Build nebula.js visualization

Options:
--version Show version number [boolean]
--config, -c Path to JSON config file
--config, -c Path to a JavaScript config file
[string] [default: "nebula.config.js"]
--watch, -w Watch source files
[choices: "umd", "systemjs"] [default: "umd"]
Expand Down
2 changes: 1 addition & 1 deletion commands/build/lib/init-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const RX = new RegExp(`${defaultFilename.replace(/\./g, '\\.')}$`);
const options = {
config: {
type: 'string',
description: 'Path to config file',
description: 'Path to a JavaScript config file',
default: defaultFilename,
alias: 'c',
},
Expand Down
2 changes: 1 addition & 1 deletion commands/serve/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Start a development server

Options:
--version Show version number [boolean]
--config, -c Path to JSON config file
--config, -c Path to a JavaScript config file
[string] [default: "nebula.config.js"]
--entry File entrypoint [string]
--type Generic object type [string]
Expand Down
2 changes: 1 addition & 1 deletion commands/serve/lib/init-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const RX = new RegExp(`${defaultFilename.replace(/\./g, '\\.')}$`);
const options = {
config: {
type: 'string',
description: 'Path to config file',
description: 'Path to a JavaScript config file',
default: defaultFilename,
alias: 'c',
},
Expand Down

0 comments on commit 70a9939

Please sign in to comment.