mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Fix help for option -group.
This commit is contained in:
parent
963f7d169d
commit
f0b26c63c9
1 changed files with 2 additions and 2 deletions
|
@ -692,7 +692,7 @@ func listUsersCmd(cmdname string, args []string) {
|
||||||
"%v [option...] %v [option...]\n",
|
"%v [option...] %v [option...]\n",
|
||||||
os.Args[0], cmdname,
|
os.Args[0], cmdname,
|
||||||
)
|
)
|
||||||
cmd.StringVar(&groupname, "group", "", "group")
|
cmd.StringVar(&groupname, "group", "", "group `name`")
|
||||||
cmd.Parse(args)
|
cmd.Parse(args)
|
||||||
|
|
||||||
if cmd.NArg() != 0 {
|
if cmd.NArg() != 0 {
|
||||||
|
@ -733,7 +733,7 @@ func createUserCmd(cmdname string, args []string) {
|
||||||
"%v [option...] %v [option...]\n",
|
"%v [option...] %v [option...]\n",
|
||||||
os.Args[0], cmdname,
|
os.Args[0], cmdname,
|
||||||
)
|
)
|
||||||
cmd.StringVar(&groupname, "group", "", "group")
|
cmd.StringVar(&groupname, "group", "", "group `name`")
|
||||||
cmd.StringVar(&username, "user", "", "user `name`")
|
cmd.StringVar(&username, "user", "", "user `name`")
|
||||||
cmd.BoolVar(&wildcard, "wildcard", false, "create the wildcard user")
|
cmd.BoolVar(&wildcard, "wildcard", false, "create the wildcard user")
|
||||||
cmd.StringVar(&permissions, "permissions", "present", "permissions")
|
cmd.StringVar(&permissions, "permissions", "present", "permissions")
|
||||||
|
|
Loading…
Reference in a new issue