Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update cmd/logcli/main.go
Co-authored-by: Christian Haudum <christian.haudum@gmail.com>
Signed-off-by: Jonathan Lange <jml@mumak.net>
  • Loading branch information
jml and chaudum authored Jan 8, 2025
commit c3b141ad2214a47e3facd659e598582714fc446b
2 changes: 1 addition & 1 deletion cmd/logcli/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main

Check failure on line 1 in cmd/logcli/main.go

View workflow job for this annotation

GitHub Actions / check / golangciLint

: # github.com/grafana/loki/v3/cmd/logcli

import (
"fmt"
Expand Down Expand Up @@ -597,7 +597,7 @@
cmd.Flag("no-labels", "Do not print any labels").Default("false").BoolVar(&q.NoLabels)
cmd.Flag("exclude-label", "Exclude labels given the provided key during output.").StringsVar(&q.IgnoreLabelsKey)
cmd.Flag("include-label", "Include labels given the provided key during output.").StringsVar(&q.ShowLabelsKey)
cmd.Flag("include-common-labels", "Include common labels in the main output.").BoolVar(&q.IncludeCommonLabels)
cmd.Flag("include-common-labels", "Include common labels in output for each log line.").BoolVar(&q.IncludeCommonLabels).Default("false")
cmd.Flag("labels-length", "Set a fixed padding to labels").Default("0").IntVar(&q.FixedLabelsLen)
cmd.Flag("store-config", "Execute the current query using a configured storage from a given Loki configuration file.").Default("").StringVar(&q.LocalConfig)
cmd.Flag("remote-schema", "Execute the current query using a remote schema retrieved from the configured -schema-store.").Default("false").BoolVar(&q.FetchSchemaFromStorage)
Expand Down
Loading