From c99b58892f0ef50602c5e977ba4f5794cae25403 Mon Sep 17 00:00:00 2001 From: Netkas Date: Wed, 7 Dec 2022 14:46:59 -0500 Subject: [PATCH] Shortened 'credential' in CLI to 'cred' --- src/ncc/CLI/CredentialMenu.php | 1 - src/ncc/CLI/HelpMenu.php | 2 +- src/ncc/CLI/Main.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ncc/CLI/CredentialMenu.php b/src/ncc/CLI/CredentialMenu.php index 4013525..f1e6fd9 100644 --- a/src/ncc/CLI/CredentialMenu.php +++ b/src/ncc/CLI/CredentialMenu.php @@ -30,7 +30,6 @@ self::displayOptions(); exit(0); - } /** diff --git a/src/ncc/CLI/HelpMenu.php b/src/ncc/CLI/HelpMenu.php index 140bae4..1351154 100644 --- a/src/ncc/CLI/HelpMenu.php +++ b/src/ncc/CLI/HelpMenu.php @@ -71,7 +71,7 @@ new CliHelpSection(['project'], 'Manages the current project'), new CliHelpSection(['package'], 'Manages the package system'), new CliHelpSection(['cache'], 'Manages the system cache'), - new CliHelpSection(['credential'], 'Manages credentials'), + new CliHelpSection(['cred'], 'Manages credentials'), new CliHelpSection(['config'], 'Changes NCC configuration values'), ]; $commands_padding = \ncc\Utilities\Functions::detectParametersPadding($commands) + 2; diff --git a/src/ncc/CLI/Main.php b/src/ncc/CLI/Main.php index af2f0cf..b5de035 100644 --- a/src/ncc/CLI/Main.php +++ b/src/ncc/CLI/Main.php @@ -109,7 +109,7 @@ BuildMenu::start(self::$args); exit(0); - case 'credential': + case 'cred': CredentialMenu::start(self::$args); exit(0);