chore: add command usage error

This commit is contained in:
Jonas Kaninda
2024-10-20 06:36:59 +02:00
parent f7514ccf33
commit 3e3084d828
4 changed files with 8 additions and 3 deletions

View File

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