[#1706] cli/playground: Mention 'help' in error message for invalid commands
All checks were successful
Vulncheck / Vulncheck (push) Successful in 1m18s
Build / Build Components (push) Successful in 1m46s
Pre-commit hooks / Pre-commit (push) Successful in 1m58s
Tests and linters / Run gofumpt (push) Successful in 2m35s
Tests and linters / Lint (push) Successful in 2m45s
Tests and linters / Tests (push) Successful in 2m46s
Tests and linters / Staticcheck (push) Successful in 2m50s
OCI image / Build container images (push) Successful in 4m25s
Tests and linters / Tests with -race (push) Successful in 4m22s
Tests and linters / gopls check (push) Successful in 4m30s
All checks were successful
Vulncheck / Vulncheck (push) Successful in 1m18s
Build / Build Components (push) Successful in 1m46s
Pre-commit hooks / Pre-commit (push) Successful in 1m58s
Tests and linters / Run gofumpt (push) Successful in 2m35s
Tests and linters / Lint (push) Successful in 2m45s
Tests and linters / Tests (push) Successful in 2m46s
Tests and linters / Staticcheck (push) Successful in 2m50s
OCI image / Build container images (push) Successful in 4m25s
Tests and linters / Tests with -race (push) Successful in 4m22s
Tests and linters / gopls check (push) Successful in 4m30s
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":
|
case "help":
|
||||||
return repl.handleHelp(args[1:])
|
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 {
|
func (repl *policyPlaygroundREPL) run() error {
|
||||||
|
|
Loading…
Add table
Reference in a new issue