From b18e779d1abc6e1f1890a6177bc11d04c8b2617b Mon Sep 17 00:00:00 2001 From: Savil Srivastava <676452+savil@users.noreply.github.com> Date: Fri, 13 Oct 2023 18:02:05 -0700 Subject: [PATCH] [services] make down an alias of stop --- internal/boxcli/services.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/boxcli/services.go b/internal/boxcli/services.go index 26d43fbeb3b..c19be2f809f 100644 --- a/internal/boxcli/services.go +++ b/internal/boxcli/services.go @@ -77,9 +77,11 @@ func servicesCmd(persistentPreRunE ...cobraFunc) *cobra.Command { } stopCommand := &cobra.Command{ - Use: "stop [service]...", - Short: "Stop one or more services in the current project. If no service is specified, stops all services in the current project.", - Long: `Stop one or more services in the current project. If no service is specified, stops all services in the current project. \nIf the --all-projects flag is specified, stops all running services across all your projects. This flag cannot be used with [service] arguments.`, + Use: "stop [service]...", + Aliases: []string{"down"}, + Short: `Stop one or more services in the current project. If no service is specified, + stops all services in the current project.`, + Long: `Stop one or more services in the current project. If no service is specified, stops all services in the current project. \nIf the --all-projects flag is specified, stops all running services across all your projects. This flag cannot be used with [service] arguments.`, RunE: func(cmd *cobra.Command, args []string) error { return stopServices(cmd, args, flags, serviceStopFlags) },