forked from TrueCloudLab/frostfs-node
[#1706] cli/playground: Mention 'help' in error message for invalid commands
Change-Id: Ica1112b907919a6d19fa1bf683f2a952c4c638e4 Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
29b4fbe451
commit
3be33b7117
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ func (repl *policyPlaygroundREPL) handleCommand(args []string) error {
|
|||
case "help":
|
||||
return repl.handleHelp(args[1:])
|
||||
}
|
||||
return fmt.Errorf("unknown command %q", args[0])
|
||||
return fmt.Errorf("unknown command %q. See 'help' for assistance", args[0])
|
||||
}
|
||||
|
||||
func (repl *policyPlaygroundREPL) run() error {
|
||||
|
|
Loading…
Add table
Reference in a new issue