Skip to content

Commit

Permalink
No query exits 1
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Jan 24, 2016
1 parent e226f24 commit 4b369bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"fmt"
"os"
"strings"

"github.com/spf13/cobra"
Expand All @@ -28,6 +29,7 @@ var SearchCmd = &cobra.Command{
err := performCommand(args)
if err != nil {
cmd.Help()
os.Exit(1)
}
},
}
Expand Down

0 comments on commit 4b369bc

Please sign in to comment.