improve help

pull/34863/head
deanlee 1 month ago
parent eeb4368bcc
commit 2d37a29980
  1. 3
      tools/cabana/README.md
  2. 2
      tools/cabana/cabana.cc
  3. 3
      tools/replay/README.md
  4. 3
      tools/replay/main.cc

@ -12,7 +12,8 @@ Options:
-h, --help Displays help on commandline options. -h, --help Displays help on commandline options.
--help-all Displays help including Qt specific options. --help-all Displays help including Qt specific options.
--demo use a demo route instead of providing your own --demo use a demo route instead of providing your own
--auto load the route from the most appropriate available source --auto Auto load the route from the best available source (no video):
internal, openpilotci, comma_api, car_segments, testing_closet
--qcam load qcamera --qcam load qcamera
--ecam load wide road camera --ecam load wide road camera
--msgq read can messages from msgq --msgq read can messages from msgq

@ -23,7 +23,7 @@ int main(int argc, char *argv[]) {
cmd_parser.addHelpOption(); cmd_parser.addHelpOption();
cmd_parser.addPositionalArgument("route", "the drive to replay. find your drives at connect.comma.ai"); cmd_parser.addPositionalArgument("route", "the drive to replay. find your drives at connect.comma.ai");
cmd_parser.addOption({"demo", "use a demo route instead of providing your own"}); cmd_parser.addOption({"demo", "use a demo route instead of providing your own"});
cmd_parser.addOption({"auto", "auto load the route from the most appropriate available source"}); cmd_parser.addOption({"auto", "Auto load the route from the best available source (no video): internal, openpilotci, comma_api, car_segments, testing_closet"});
cmd_parser.addOption({"qcam", "load qcamera"}); cmd_parser.addOption({"qcam", "load qcamera"});
cmd_parser.addOption({"ecam", "load wide road camera"}); cmd_parser.addOption({"ecam", "load wide road camera"});
cmd_parser.addOption({"dcam", "load driver camera"}); cmd_parser.addOption({"dcam", "load driver camera"});

@ -64,7 +64,8 @@ Options:
-s, --start <seconds> start from <seconds> -s, --start <seconds> start from <seconds>
-x <speed> playback <speed>. between 0.2 - 3 -x <speed> playback <speed>. between 0.2 - 3
--demo use a demo route instead of providing your own --demo use a demo route instead of providing your own
--auto auto load the route from the most appropriate available source --auto Auto load the route from the best available source (no video):
internal, openpilotci, comma_api, car_segments, testing_closet
--data_dir <data_dir> local directory with routes --data_dir <data_dir> local directory with routes
--prefix <prefix> set OPENPILOT_PREFIX --prefix <prefix> set OPENPILOT_PREFIX
--dcam load driver camera --dcam load driver camera

@ -19,7 +19,8 @@ Options:
-s, --start Start from <seconds> -s, --start Start from <seconds>
-x, --playback Playback <speed> -x, --playback Playback <speed>
--demo Use a demo route instead of providing your own --demo Use a demo route instead of providing your own
--auto auto load the route from the most appropriate available source --auto Auto load the route from the best available source (no video):
internal, openpilotci, comma_api, car_segments, testing_closet
-d, --data_dir Local directory with routes -d, --data_dir Local directory with routes
-p, --prefix Set OPENPILOT_PREFIX -p, --prefix Set OPENPILOT_PREFIX
--dcam Load driver camera --dcam Load driver camera

Loading…
Cancel
Save