aboutsummaryrefslogtreecommitdiff
path: root/cmd/vartan/show.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vartan/show.go')
-rw-r--r--cmd/vartan/show.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/vartan/show.go b/cmd/vartan/show.go
index 920ba66..04fc4e2 100644
--- a/cmd/vartan/show.go
+++ b/cmd/vartan/show.go
@@ -14,9 +14,6 @@ import (
"github.com/spf13/cobra"
)
-var showFlags = struct {
-}{}
-
func init() {
cmd := &cobra.Command{
Use: "show",
@@ -150,7 +147,7 @@ func writeDescription(w io.Writer, desc *spec.Description) error {
}
if count == 1 {
- return fmt.Sprintf("1 conflict was detected.")
+ return "1 conflict was detected."
} else if count > 1 {
return fmt.Sprintf("%v conflicts were detected.", count)
}