aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/show.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/show.go b/commands/show.go
index 15b42984..bc898241 100644
--- a/commands/show.go
+++ b/commands/show.go
@@ -104,7 +104,7 @@ func runShowBug(cmd *cobra.Command, args []string) error {
}
fmt.Printf("\n")
if err {
- return errors.New(fmt.Sprintf("Unsupported fields requested: %s\n",unknownFields))
+ return fmt.Errorf("Unsupported fields requested: %s\n",unknownFields)
}
}