From cebf7f7dc57943a8f12b534cca9e6895527342d3 Mon Sep 17 00:00:00 2001 From: Will Vedder Date: Wed, 11 Jan 2023 05:05:50 -0500 Subject: [PATCH] DXCDT-304: Disable JSON flag for logs tail command (#595) Co-authored-by: Will Vedder --- docs/auth0_logs_tail.md | 1 - internal/cli/logs.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/docs/auth0_logs_tail.md b/docs/auth0_logs_tail.md index 35698de2a..163932344 100644 --- a/docs/auth0_logs_tail.md +++ b/docs/auth0_logs_tail.md @@ -28,7 +28,6 @@ auth0 logs tail [flags] ``` -f, --filter string Filter in Lucene query syntax. See https://auth0.com/docs/logs/log-search-query-syntax for more details. - --json Output in json format. -n, --number int Number of log entries to show. (default 100) ``` diff --git a/internal/cli/logs.go b/internal/cli/logs.go index 88ae776e5..1678c5a6d 100644 --- a/internal/cli/logs.go +++ b/internal/cli/logs.go @@ -162,8 +162,6 @@ func tailLogsCmd(cli *cli) *cobra.Command { logsFilter.RegisterString(cmd, &inputs.Filter, "") logsNum.RegisterInt(cmd, &inputs.Num, 100) - cmd.Flags().BoolVar(&cli.json, "json", false, "Output in json format.") - return cmd }