From ae4e4fd791beefef6d70ae77649ad31fb6ba24b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <michael@minelli.me> Date: Wed, 28 Jun 2023 22:03:14 +0200 Subject: [PATCH] Commander => Rectify some strings --- NodeApp/src/commander/CommanderApp.ts | 2 +- NodeApp/src/commander/enonce/EnonceCommand.ts | 2 +- NodeApp/src/commander/session/SessionCommand.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NodeApp/src/commander/CommanderApp.ts b/NodeApp/src/commander/CommanderApp.ts index 0c92978..37dbc06 100644 --- a/NodeApp/src/commander/CommanderApp.ts +++ b/NodeApp/src/commander/CommanderApp.ts @@ -18,7 +18,7 @@ class CommanderApp { sortOptions : true, sortSubcommands : true }) - .option('-H, --host <string>', 'override the Dojo API endpoint.', Config.apiURL); + .option('-H, --host <string>', 'override the Dojo API endpoint', Config.apiURL); this.program.on('option:host', () => { Config.apiURL = this.program.opts().host; diff --git a/NodeApp/src/commander/enonce/EnonceCommand.ts b/NodeApp/src/commander/enonce/EnonceCommand.ts index c81d0d8..4ae73d8 100644 --- a/NodeApp/src/commander/enonce/EnonceCommand.ts +++ b/NodeApp/src/commander/enonce/EnonceCommand.ts @@ -19,7 +19,7 @@ class EnonceCommand extends CommanderCommand { protected defineCommand() { this.command - .description('Manage an enonce.'); + .description('manage an enonce'); } protected defineSubCommands() { diff --git a/NodeApp/src/commander/session/SessionCommand.ts b/NodeApp/src/commander/session/SessionCommand.ts index 7cd6b01..29b8a5a 100644 --- a/NodeApp/src/commander/session/SessionCommand.ts +++ b/NodeApp/src/commander/session/SessionCommand.ts @@ -21,7 +21,7 @@ class SessionCommand extends CommanderCommand { protected defineCommand() { this.command - .description('manage session for API and Gitlab'); + .description('manage Dojo and Gitlab sessions'); } protected defineSubCommands() { -- GitLab