rr-debugger / rr-debugger/rr

Invalid --verbose option

Open
#2,374 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

Manual says:

       -V, --verbose
              log messages that may not be urgently critical to the user

Run does:

 rr record -V /home/midenok/src/mariadb/trunk/build/sql/mysqld $args
Invalid option -V
 rr record [OPTION]... <exe> [exe-args]...
  -b, --force-syscall-buffer force the syscall buffer preload library
                             to be used, even if that's probably a bad
                             idea
  -c, --num-cpu-ticks=<NUM>  maximum number of 'CPU ticks' (currently
                             retired conditional branches) to allow a
...

Could you please don't show help after any error? It's not short when that could be appropriate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing rr record -V ... and inspect the command-line option parsing and error-reporting entry points; the issue names no source files or tests. Done means invalid options report the error without printing the full help text, while valid help output remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.