dfinity / dfinity/quill

--follow-neurons parsing error

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

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
84
Forks
30
Avg merge
23h 49m
Merged PRs (30d)
1

Description

When --follow-neurons is the last argument, only followed by <NEURON_ID> of the neuron that is being managed, then the command line parser seems to interpret <NEURON_ID> as just another followee and complains that <NEURON_ID> is missing.

A work-around is to put --follow-topic between the followees and <NEURON_ID>.

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

Reproduce the command-line parsing failure with --follow-neurons followed by a neuron ID as the final argument, then inspect the CLI argument-parsing entry point for how followees are terminated. Done when the final neuron ID is accepted without --follow-topic, with regression coverage for both argument arrangements.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.