forked from TrueCloudLab/restic
commit
dd040a4132
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ func (cmd CmdLs) Usage() string {
|
||||||
return "snapshot-ID [DIR]"
|
return "snapshot-ID [DIR]"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (cmd CmdLs) Execute(s restic.Server, key *restic.Key, args []string) error {
|
func (cmd CmdLs) Execute(args []string) error {
|
||||||
if len(args) < 1 || len(args) > 2 {
|
if len(args) < 1 || len(args) > 2 {
|
||||||
return fmt.Errorf("wrong number of arguments, Usage: %s", cmd.Usage())
|
return fmt.Errorf("wrong number of arguments, Usage: %s", cmd.Usage())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue