diff --git a/client/config.go b/client/config.go
index 209d609c3f9b8195aa6ffb59dc9215ac6a615288..e1b70f682801411e79efea269bcb14fc250c8998 100644
--- a/client/config.go
+++ b/client/config.go
@@ -28,7 +28,7 @@ func setDefaults() {
 	viper.SetDefault("validateTLSCertificate", true)
 }
 
-// Expand ~ and ~user for a given path.
+// ExpandTilde expands ~ and ~user for a given path.
 func ExpandTilde(path string) string {
 	re := regexp.MustCompile("^~([^/]*)(/.*)")
 	if m := re.FindStringSubmatch(path); len(m) > 0 {