From 6e1d044f9166342b050c7cdf4b74f5f4ca7c9223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=BCtzner?= Date: Wed, 3 Nov 2021 17:34:32 +0100 Subject: [PATCH] admin-trace: Add missing asterisk to --path example in usage (#3857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Limiting tracing to a specific path requires an asterisk at the end. I don't know if this is a regression or the example was always wrong. I only ever figured this out by trial and error. This fixes #3856. Co-authored-by: Robert Lützner --- cmd/admin-trace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/admin-trace.go b/cmd/admin-trace.go index 9cc5ae8c..3e9ae0ac 100644 --- a/cmd/admin-trace.go +++ b/cmd/admin-trace.go @@ -104,7 +104,7 @@ EXAMPLES: {{.Prompt}} {{.HelpName}} -v --status-code 503 myminio 4. Show console trace for a specific path - {{.Prompt}} {{.HelpName}} --path my-bucket/my-prefix/ myminio + {{.Prompt}} {{.HelpName}} --path my-bucket/my-prefix/* myminio 5. Show console trace for requests with '404' and '503' status code {{.Prompt}} {{.HelpName}} --status-code 404 --status-code 503 myminio