Skip to content

Commit

Permalink
fix(service): command usage help
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Jan 23, 2019
1 parent 533e2b0 commit 232090f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/@nodepack/service/src/commands/build.js
Expand Up @@ -8,7 +8,7 @@ const defaultArgs = {
module.exports = (api, options) => {
api.registerCommand('build', {
description: 'Build the app for production',
usage: 'nodepack build [entry]',
usage: 'nodepack-service build [entry]',
options: {
'--no-clean': 'do not delete the dist folder before building',
'--function': 'apply default config for serverless function',
Expand Down
2 changes: 1 addition & 1 deletion packages/@nodepack/service/src/commands/dev.js
Expand Up @@ -4,7 +4,7 @@ const commonCommandOptions = require('../util/commonCommandOptions')
module.exports = (api, options) => {
api.registerCommand('dev', {
description: 'Build and live-reload the app',
usage: 'nodepack dev [entry]',
usage: 'nodepack-service dev [entry]',
options: {
'-p, --port [port]': 'Specify a default port for process.env.PORT (it may automatically change if not available)',
...commonCommandOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/@nodepack/service/src/commands/inspect.js
Expand Up @@ -2,7 +2,7 @@
module.exports = (api, options) => {
api.registerCommand('inspect', {
description: 'inspect internal webpack config',
usage: 'nodepack inspect [entry] [options] [...paths]',
usage: 'nodepack-service inspect [entry] [options] [...paths]',
options: {
'--mode': 'specify env mode (default: development)',
'--rule <ruleName>': 'inspect a specific module rule',
Expand Down

0 comments on commit 232090f

Please sign in to comment.