Let utilities identify themselves as being part of uutils in `--help` and `--version`

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
50/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

Start with the bsdutils multi-call binary and inspect how its utilities produce --help and --version output. Run bsdutils --version and the individual utilities' help and version commands to identify the current gaps; done means the utilities identify themselves as part of uutils and bsdutils supports top-level --version.

Written by the indexing model from the issue text.

Description

I had a tool in $PATH and needed to determine whether its from GNU coreutils/findutils/... , busybox, or uutils. While the GNU and Busybox state their origin in the --help and --version , uutils stays (mostly) silent about its origin.

Add something like part of uutils to --help and also mention uutils in the --version output.

Since bsdutils is a multi-call binary, it should also support --version on the top level, i.e. bsdutils --version.

Note: This bug is part of a series of bugreports across all tools of uutils. Please check wether I've covered all your utilities.

Related:

Dominant language
Rust
Stars
12
Forks
1
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 uutils/bsdutils

All issues in uutils/bsdutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.