mirror of
https://github.com/restic/restic.git
synced 2026-10-15 14:17:12 +00:00
rename "change" to "passwd"
This commit is contained in:
1 parent
8be6dc0265
commit
dead2b7e93
2 files changed
+4
-4
No files matched your search
@@ -114,7 +114,7 @@ func change_password(s restic.Server) error {
|
||||
}
|
||||
|
||||
func (cmd CmdKey) Usage() string {
|
||||
return "[list|add|rm|change] [ID]"
|
||||
return "[list|add|rm|passwd] [ID]"
|
||||
}
|
||||
|
||||
func (cmd CmdKey) Execute(args []string) error {
|
||||
@@ -139,7 +139,7 @@ func (cmd CmdKey) Execute(args []string) error {
|
||||
}
|
||||
|
||||
return delete_key(s, id)
|
||||
case "change":
|
||||
case "passwd":
|
||||
return change_password(s)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user