From 37cfc01ac6954d0be0c138d64413718aae17f531 Mon Sep 17 00:00:00 2001 From: Ivan Fraixedes Date: Tue, 16 Jun 2020 15:30:44 +0200 Subject: [PATCH] cmd/storagenode: Add long description to ge command Add a long description to the graceful exit command to clearly mention that the command is interactive asking which satellite the SNO wants to exit. Change-Id: Icd4056a470e707322f600133e63d9dc56eb877b7 --- cmd/storagenode/main.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/storagenode/main.go b/cmd/storagenode/main.go index f334429d8..6df1d2b4e 100644 --- a/cmd/storagenode/main.go +++ b/cmd/storagenode/main.go @@ -71,8 +71,11 @@ var ( Annotations: map[string]string{"type": "helper"}, } gracefulExitInitCmd = &cobra.Command{ - Use: "exit-satellite", - Short: "Initiate graceful exit", + Use: "exit-satellite", + Short: "Initiate graceful exit", + Long: "Initiate gracefule exit.\n" + + "The command shows the list of the available satellites that can be exited " + + "and ask for choosing one.", RunE: cmdGracefulExitInit, Annotations: map[string]string{"type": "helper"}, }