This is an automated email from the ASF dual-hosted git repository.

dmeden pushed a commit to branch 10-Dev
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/10-Dev by this push:
     new 2d83d6de9 traffic_ctl: Fix invalid format option from cli args. (#9116)
2d83d6de9 is described below

commit 2d83d6de9a7165bdd54fd7a05b1a1225fd34bf3c
Author: Damian Meden <[email protected]>
AuthorDate: Thu Oct 6 17:38:20 2022 +0100

    traffic_ctl: Fix invalid format option from cli args. (#9116)
---
 src/traffic_ctl/traffic_ctl.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/traffic_ctl/traffic_ctl.cc b/src/traffic_ctl/traffic_ctl.cc
index 41d801709..1c037283a 100644
--- a/src/traffic_ctl/traffic_ctl.cc
+++ b/src/traffic_ctl/traffic_ctl.cc
@@ -55,8 +55,7 @@ main(int argc, const char **argv)
     .add_option("--version", "-V", "Print version string")
     .add_option("--help", "-h", "Print usage information")
     .add_option("--run-root", "", "using TS_RUNROOT as sandbox", "TS_RUNROOT", 
1)
-    .add_option("--format", "-f", "Use a specific output format 
{legacy|pretty|json|data:{req|resp|all}}", "", 1, "legacy",
-                "format");
+    .add_option("--format", "-f", "Use a specific output format 
{legacy|pretty|json|rpc}", "", 1, "legacy", "format");
 
   auto &config_command     = parser.add_command("config", "Manipulate 
configuration records").require_commands();
   auto &metric_command     = parser.add_command("metric", "Manipulate 
performance metrics").require_commands();

Reply via email to