summaryrefslogtreecommitdiffstats
path: root/commands/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/helpers.go')
-rw-r--r--commands/helpers.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/helpers.go b/commands/helpers.go
index 8bd7b18a3..71f686953 100644
--- a/commands/helpers.go
+++ b/commands/helpers.go
@@ -53,15 +53,15 @@ func (c commandError) isUserError() bool {
return c.userError
}
-func newUserError(a ...interface{}) commandError {
+func newUserError(a ...any) commandError {
return commandError{s: fmt.Sprintln(a...), userError: true}
}
-func newSystemError(a ...interface{}) commandError {
+func newSystemError(a ...any) commandError {
return commandError{s: fmt.Sprintln(a...), userError: false}
}
-func newSystemErrorF(format string, a ...interface{}) commandError {
+func newSystemErrorF(format string, a ...any) commandError {
return commandError{s: fmt.Sprintf(format, a...), userError: false}
}