refac: better error msg for missing history
This commit is contained in:
parent
637f58f95c
commit
f0cd4bcb68
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
func selector(data []string, max int, tool string) (string, error) {
|
||||
if len(data) == 0 {
|
||||
return "", errors.New("no data available")
|
||||
return "", errors.New("nothing to show: no data available")
|
||||
}
|
||||
|
||||
// output to stdout and return
|
||||
|
|
Loading…
Reference in a new issue