From 2d882b716add9b2316760d7e5425cf5e35391b21 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Sun, 2 Mar 2025 02:33:49 +0800 Subject: [PATCH] replay: update help text with route and service list details (#34743) improve help --- tools/replay/README.md | 4 ++-- tools/replay/main.cc | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/replay/README.md b/tools/replay/README.md index 5e91aae943..f02090c58e 100644 --- a/tools/replay/README.md +++ b/tools/replay/README.md @@ -58,8 +58,8 @@ Mock openpilot components by publishing logged messages. Options: -h, --help Displays this help. - -a, --allow whitelist of services to send - -b, --block blacklist of services to send + -a, --allow whitelist of services to send (comma-separated) + -b, --block blacklist of services to send (comma-separated) -c, --cache cache segments in memory. default is 5 -s, --start start from -x playback . between 0.2 - 3 diff --git a/tools/replay/main.cc b/tools/replay/main.cc index 31493d1486..b33b7fa263 100644 --- a/tools/replay/main.cc +++ b/tools/replay/main.cc @@ -11,10 +11,10 @@ #include "tools/replay/util.h" const std::string helpText = -R"(Usage: replay [options] +R"(Usage: replay [options] [route] Options: - -a, --allow Whitelist of services to send - -b, --block Blacklist of services to send + -a, --allow Whitelist of services to send (comma-separated) + -b, --block Blacklist of services to send (comma-separated) -c, --cache Cache segments in memory. Default is 5 -s, --start Start from -x, --playback Playback