equal
deleted
inserted
replaced
88 cfile := viper.ConfigFileUsed() |
88 cfile := viper.ConfigFileUsed() |
89 if cfile == "" { |
89 if cfile == "" { |
90 cfile = defaultConfigFile |
90 cfile = defaultConfigFile |
91 } |
91 } |
92 errPrint("You can copy the following lines into a configuration file.") |
92 errPrint("You can copy the following lines into a configuration file.") |
93 errPrint("E.g. %s -i INSTANCE -L USERNAME -P PASS config dump > %s\n", AppName, cfile) |
93 errPrint("E.g. %s -i INSTANCE -L USERNAME -P PASS config dump > %s", AppName, cfile) |
|
94 errPrint(" or %s -i INSTANCE oauth2 > %s\n", AppName, cfile) |
94 pOptions := printer.Options{"template": configurationTemplate} |
95 pOptions := printer.Options{"template": configurationTemplate} |
95 p, err = printer.NewPrinterTemplate(pOptions) |
96 p, err = printer.NewPrinterTemplate(pOptions) |
96 } else { |
97 } else { |
97 p, err = getPrinter() |
98 p, err = getPrinter() |
98 } |
99 } |