rename "change" to "passwd"

This commit is contained in:
Florian Weingarten committed 2015-04-25 02:44:26 -04:00
1 parent 8be6dc0265
commit dead2b7e93
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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)
}