From ba3a71318b7cf34571eddf609d619598c9a5e05a Mon Sep 17 00:00:00 2001 From: Christoph Polcin Date: Fri, 25 May 2018 19:58:42 +0200 Subject: [PATCH] cmd: refactor output message --- cmd/gowebdav/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/gowebdav/main.go b/cmd/gowebdav/main.go index 4a0c693..fde6ab5 100644 --- a/cmd/gowebdav/main.go +++ b/cmd/gowebdav/main.go @@ -130,21 +130,21 @@ func cmdGet(c *d.Client, p0, p1 string) (err error) { func cmdRm(c *d.Client, p0, _ string) (err error) { if err = c.Remove(p0); err == nil { - fmt.Println("RM: " + p0) + fmt.Println("Remove: " + p0) } return } func cmdMkdir(c *d.Client, p0, _ string) (err error) { if err = c.Mkdir(p0, 0755); err == nil { - fmt.Println("MkDir: " + p0) + fmt.Println("Mkdir: " + p0) } return } func cmdMkdirAll(c *d.Client, p0, _ string) (err error) { if err = c.MkdirAll(p0, 0755); err == nil { - fmt.Println("MkDirAll: " + p0) + fmt.Println("MkdirAll: " + p0) } return }