mirror of
https://github.com/ente-io/ente.git
synced 2025-08-13 09:47:17 +00:00
[cli] Print help when no command is specified
This commit is contained in:
@@ -75,6 +75,10 @@ func main() {
|
||||
}
|
||||
return
|
||||
}
|
||||
if len(os.Args) == 1 {
|
||||
// If no arguments are passed, show help
|
||||
os.Args = append(os.Args, "help")
|
||||
}
|
||||
cmd.Execute(&ctrl, AppVersion)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user