Chore: Small improvements to grafana-cli (#16670)

* Small improvements

* Better error handling
This commit is contained in:
Andrej Ocenas
2019-04-23 12:34:34 +02:00
committed by GitHub
parent c429934a66
commit e4f649e2c8
3 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func main() {
func setupLogging() {
for _, f := range os.Args {
if f == "-D" || f == "--debug" || f == "-debug" {
if f == "-d" || f == "--debug" || f == "-debug" {
logger.SetDebug(true)
}
}