libp2p / libp2p/go-libp2p-daemon

Bad error message when running p2pd with no arguments

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
95
Forks
41
PR merge metrics
No merged PRs in 30d

Description

```
> ./p2pd
2021/03/15 11:40:50 if we explicitly specify a transport, we must also explicitly specify the listen addrs
```

1. I didn't specify a transport...
2. Listen addrs? Which listen addrs? I assume this means the daemon control address (one, not multiple).

Contributor guide

No contributing guide indexed for this repository

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 locating the p2pd entry point and the code that emits the reported error when no arguments are supplied. Check how transport and listen-address options are described, then verify that the no-argument output clearly identifies the required values and uses consistent terminology.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.