Skip to content

Add a demo based on the example in README.md and fix the example#9

Merged
tdewolff merged 2 commits intotdewolff:masterfrom
dbohdan:demo
Mar 20, 2025
Merged

Add a demo based on the example in README.md and fix the example#9
tdewolff merged 2 commits intotdewolff:masterfrom
dbohdan:demo

Conversation

@dbohdan
Copy link
Contributor

@dbohdan dbohdan commented Mar 19, 2025

Notes on the readme:

  • Assigning to argp makes argp.Count inaccessible. It will lead to an error if someone copies the code.
  • Make verbose an integer so Count is meaningful. Add previously omitted variable declarations for clarity.
  • Link to cmd/test/main.go and update the help output.

dbohdan added 2 commits March 19, 2025 14:40
Assigning to `argp` makes `argp.Count` inaccessible.
It will lead to an error if someone copies the code.

Make `verbose` an integer so `Count` is meaningful.
Add previously omitted variable declarations for clarity.

Link to `cmd/test/main.go` and update the help output.
@tdewolff tdewolff merged commit 8091e4c into tdewolff:master Mar 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants