mirror of
https://github.com/jech/galene.git
synced 2024-11-09 02:05:59 +01:00
Rename -hash to -type.
This commit is contained in:
parent
31dc84d904
commit
37c81e2cd9
1 changed files with 4 additions and 4 deletions
|
@ -251,8 +251,8 @@ func hashPasswordCmd(cmdname string, args []string) {
|
|||
"%v [option...] %v [option...] password...\n",
|
||||
os.Args[0], cmdname,
|
||||
)
|
||||
cmd.StringVar(&algorithm, "hash", "pbkdf2",
|
||||
"hashing `algorithm`")
|
||||
cmd.StringVar(&algorithm, "type", "pbkdf2",
|
||||
"password `type`")
|
||||
cmd.IntVar(&iterations, "iterations", 4096,
|
||||
"`number` of iterations (pbkdf2)")
|
||||
cmd.IntVar(&cost, "cost", bcrypt.DefaultCost,
|
||||
|
@ -396,8 +396,8 @@ func setPasswordCmd(cmdname string, args []string) {
|
|||
os.Args[0], cmdname,
|
||||
)
|
||||
cmd.StringVar(&groupname, "group", "", "group `name`")
|
||||
cmd.StringVar(&algorithm, "hash", "pbkdf2",
|
||||
"hashing `algorithm`")
|
||||
cmd.StringVar(&algorithm, "type", "pbkdf2",
|
||||
"password `type`")
|
||||
cmd.IntVar(&iterations, "iterations", 4096,
|
||||
"`number` of iterations (pbkdf2)")
|
||||
cmd.IntVar(&cost, "cost", bcrypt.DefaultCost,
|
||||
|
|
Loading…
Reference in a new issue