Skip to content

Commit

Permalink
cmd/storagenode: Add long description to ge command
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ifraixedes authored and mniewrzal committed Jun 24, 2020
1 parent 51dfc6b commit 37cfc01
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmd/storagenode/main.go
Expand Up @@ -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"},
}
Expand Down

0 comments on commit 37cfc01

Please sign in to comment.