will be upgraded to critical security release 13.7.4 Monday, 11/18 between 9 and 10pm. Please email if you have trouble with anything Gitlab-related. Please see the Yammer group for more information.

Commit 31e3e0de authored by Andy Cobaugh's avatar Andy Cobaugh

revert quiet flag

parent 7da91793
......@@ -46,9 +46,7 @@ var rootCmd = &cobra.Command{
cmd.HelpFunc()(cmd, args)
PersistentPreRun: func(cmd *cobra.Command, args []string) {
if !viper.GetBool("quiet") {
SilenceUsage: true,
......@@ -67,15 +65,7 @@ func init() {
cli.Default.Padding = InitialPadding
// Here you will define your flags and configuration settings.
// Cobra supports persistent flags, which, if defined here,
// will be global for your application.
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.devtool.yaml)")
// Cobra also supports local flags, which will only run
// when this action is called directly.
// rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
rootCmd.Flags().BoolP("quiet", "q", false, "Suppress printing of extraneous info, including the logo")
// initConfig reads in config file and ENV variables if set.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment