From 1a1b4e5cf06826e62bf5ec70d3bd92b6e9d324f4 Mon Sep 17 00:00:00 2001 From: Anthony ESTEBE Date: Fri, 5 Jul 2019 09:38:26 +0700 Subject: [PATCH] capitalize all flag descriptions --- src/commands/daemon/start.ts | 6 +++--- src/commands/service/execute.ts | 2 +- src/commands/service/start.ts | 2 +- src/docker-command.ts | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands/daemon/start.ts b/src/commands/daemon/start.ts index 3552513..5fb6413 100644 --- a/src/commands/daemon/start.ts +++ b/src/commands/daemon/start.ts @@ -16,16 +16,16 @@ export default class Start extends Command { default: version.engine }), 'log-force-colors': flags.boolean({ - description: 'log force colors', + description: 'Log force colors', default: false }), 'log-format': flags.enum({ - description: 'log format', + description: 'Log format', default: 'text', options: ['text', 'json'] }), 'log-level': flags.enum({ - description: 'log level', + description: 'Log level', default: 'info', options: ['debug', 'info', 'warn', 'error', 'fatal', 'panic'] }), diff --git a/src/commands/service/execute.ts b/src/commands/service/execute.ts index 587a7ed..3db7c42 100644 --- a/src/commands/service/execute.ts +++ b/src/commands/service/execute.ts @@ -14,7 +14,7 @@ export default class ServiceExecute extends Command { json: flags.string({char: 'j', description: 'Path to a JSON file containing the data required to run the task'}), data: flags.string({ char: 'd', - description: 'data required to run the task', + description: 'Data required to run the task', multiple: true, helpValue: 'key=value' }), diff --git a/src/commands/service/start.ts b/src/commands/service/start.ts index a643c30..369354a 100644 --- a/src/commands/service/start.ts +++ b/src/commands/service/start.ts @@ -9,7 +9,7 @@ export default class ServiceStart extends Command { static flags = { ...Command.flags, env: flags.string({ - description: 'set env defined in mesg.yml (configuration.env)', + description: 'Set env defined in mesg.yml (configuration.env)', multiple: true, helpValue: 'FOO=BAR' }) diff --git a/src/docker-command.ts b/src/docker-command.ts index d985c66..3086ad1 100644 --- a/src/docker-command.ts +++ b/src/docker-command.ts @@ -34,7 +34,7 @@ export default abstract class extends Command { static flags = { ...Command.flags, name: flags.string({ - description: 'name of the service running the engine', + description: 'Name of the service running the engine', required: true, default: 'engine' }),