`rdbg` without no arguments

Open
#1,042 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
ruby
Domain
cli

Research direction

Start at the exe/rdbg entry point and inspect how invocation with no arguments is handled; compare it with the rdbg -h path. The change is complete when running rdbg without arguments shows the help output instead of reading a script from STDIN.

Written by the indexing model from the issue text.

Description

enhancement

Now rdbg without script waits script from STDIN:

[master]$ exe/rdbg
p 1 # Ctrl-D here to terminate input
# No sourcefile available for -
=>#0    <main> at -:1
(rdbg) n    # next command
1

But I think nobody use this feature so showing help (rdbg -h) seems better.

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

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.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.