interactive mode shows same message as list
This commit is contained in:
parent
37a63a5a85
commit
99a3bed240
1 changed files with 7 additions and 1 deletions
8
main.go
8
main.go
|
@ -432,7 +432,13 @@ func interactiveMode() error {
|
|||
}
|
||||
|
||||
if len(fls) <= 0 {
|
||||
log.Printf("no files to show")
|
||||
var msg string
|
||||
if f.Blank() {
|
||||
msg = "trash is empty"
|
||||
} else {
|
||||
msg = "no files to show"
|
||||
}
|
||||
fmt.Println(msg)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue