mirror of
https://github.com/ente-io/ente.git
synced 2025-08-07 23:18:10 +00:00
[cli] Print help when no command is specified
This commit is contained in:
parent
ecb0d47055
commit
dcbdeca64e
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user