Permalink
Browse files

adding alias for remotecopy

  • Loading branch information...
justone committed Jan 22, 2017
1 parent 1ba4b7f commit 4abebbdf710777157b636540218cbdb6ead4006e
Showing with 7 additions and 1 deletion.
  1. +7 −1 remotecopy.go
View
@@ -44,10 +44,16 @@ func (x *RemoteCopyCommand) Execute(args []string) error {
}
func init() {
parser.AddCommand("remotecopy",
cmd, err := parser.AddCommand("remotecopy",
"Remote copy.",
"",
&remoteCopyCommand)
cmd.Aliases = append(cmd.Aliases, "rc")
if err != nil {
fmt.Println(err)
}
}
func runRemoteCopy(conn *pmb.Connection, id string, data string) error {

0 comments on commit 4abebbd

Please sign in to comment.