1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 02:05:59 +01:00

Fix help for option -group.

This commit is contained in:
Juliusz Chroboczek 2024-10-30 13:45:21 +01:00
parent 963f7d169d
commit f0b26c63c9

View file

@ -692,7 +692,7 @@ func listUsersCmd(cmdname string, args []string) {
"%v [option...] %v [option...]\n",
os.Args[0], cmdname,
)
cmd.StringVar(&groupname, "group", "", "group")
cmd.StringVar(&groupname, "group", "", "group `name`")
cmd.Parse(args)
if cmd.NArg() != 0 {
@ -733,7 +733,7 @@ func createUserCmd(cmdname string, args []string) {
"%v [option...] %v [option...]\n",
os.Args[0], cmdname,
)
cmd.StringVar(&groupname, "group", "", "group")
cmd.StringVar(&groupname, "group", "", "group `name`")
cmd.StringVar(&username, "user", "", "user `name`")
cmd.BoolVar(&wildcard, "wildcard", false, "create the wildcard user")
cmd.StringVar(&permissions, "permissions", "present", "permissions")