Skip to content

tar: use "tar (uutils)" as the display name in clap#152

Merged
cakebaker merged 2 commits into
uutils:mainfrom
kaladron:argv0
Apr 4, 2026
Merged

tar: use "tar (uutils)" as the display name in clap#152
cakebaker merged 2 commits into
uutils:mainfrom
kaladron:argv0

Conversation

@kaladron
Copy link
Copy Markdown
Collaborator

@kaladron kaladron commented Apr 4, 2026

Replace uucore::util_name() (argv[0]) with the literal string "tar (uutils)" as the clap Command name. This gives a consistent, recognisable program name in --help output regardless of what the binary was invoked as.

Closes #150

kaladron added 2 commits April 4, 2026 09:44
Replace `uucore::util_name()` (argv[0]) with the literal string
"tar (uutils)" as the clap Command name.  This gives a consistent,
recognisable program name in --help output regardless of what the binary was invoked as.

Closes uutils#150
Add a CI step to run `rustup component add llvm-tools` before
generating coverage data. grcov requires llvm-profdata (part of
llvm-tools) to process .profraw files; without it the coverage
job fails with "couldn't find llvm-profdata".
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 4, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 60.83%. Comparing base (d635523) to head (58e2367).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
src/uu/tar/src/tar.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           main     #152       +/-   ##
=========================================
+ Coverage      0   60.83%   +60.83%     
=========================================
  Files         0        7        +7     
  Lines         0      789      +789     
  Branches      0       24       +24     
=========================================
+ Hits          0      480      +480     
- Misses        0      309      +309     
Flag Coverage Δ
macos_latest 60.83% <0.00%> (?)
ubuntu_latest 60.83% <0.00%> (?)
windows_latest 0.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cakebaker cakebaker merged commit a9e1228 into uutils:main Apr 4, 2026
17 checks passed
@cakebaker
Copy link
Copy Markdown
Contributor

Thanks!

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.

name is hijacked by argv[0]

2 participants