chore: add command usage error

This commit is contained in:
Jonas Kaninda
2024-10-20 06:57:06 +02:00
parent 2c6336e84a
commit 1dcb9586a6
4 changed files with 3 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ var RestoreCmd = &cobra.Command{
if len(args) == 0 {
pkg.StartRestore(cmd)
} else {
utils.Fatal("Error, no argument required")
utils.Fatal(`"restore" accepts no argument %q`, args)
}