commands: Delete unused newUserErrorF
authorbogem <albertnigma@gmail.com>
Tue, 30 Aug 2016 17:20:21 +0000 (22:20 +0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 11 Sep 2016 10:23:09 +0000 (12:23 +0200)
commands/hugo.go

index 435f66af12e4500a0b21879568df279299c254c7..ce6425489efdc3bd819e0032ec9b40ac6855543b 100644 (file)
@@ -79,10 +79,6 @@ func newUserError(a ...interface{}) commandError {
        return commandError{s: fmt.Sprintln(a...), userError: true}
 }
 
-func newUserErrorF(format string, a ...interface{}) commandError {
-       return commandError{s: fmt.Sprintf(format, a...), userError: true}
-}
-
 func newSystemError(a ...interface{}) commandError {
        return commandError{s: fmt.Sprintln(a...), userError: false}
 }