Commit Graph
135 Commits
Author SHA1 Message Date
xtqqczzeandDaniel Hofstetter c2acff22ee clippy: fix items_after_statements lint
https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
2026-04-28 09:37:21 +02:00
oech3andSylvestre Ledru 36265cb9ee coreutils: --help args is same with --help 2026-04-20 23:05:29 +02:00
Sylvestre Ledru 2333e411c7 uudoc: drop legacy FA4 fa class from platform icons
mdbook 0.5's built-in Font Awesome parser sees the leading `fa` class
and defaults to type=regular, which fails to find linux/windows/apple
(they live under the `brands` family) and emits hundreds of WARN lines
per build. Keeping only `fa-brands fa-<icon>` lets the parser resolve
the icon correctly.

See https://rust-lang.github.io/mdBook/format/mdbook.html for the
mdbook Font Awesome syntax.
2026-04-05 09:58:12 +02:00
oech3andSylvestre Ledru 3b2a09ca85 coreutils: strip errno 2026-03-31 19:12:31 +02:00
oech3andDaniel Hofstetter 02bc8e0dc3 coreutils: --list arg and no args should fail 2026-03-30 10:56:33 +02:00
oech3andSylvestre Ledru 30b96a1e52 coreutils: --help >/dev/full panics 2026-03-22 22:09:55 +01:00
Sylvestre Ledru e2cc2ec536 uudoc: make tldr attribution and disclaimer translatable 2026-03-22 17:27:49 +01:00
Sylvestre LedruandDaniel Hofstetter a1355f1076 fix: remove .br before empty lines to fix mandoc warnings
- Enhanced post-processing to remove .br macros that appear before empty lines
- This fixes 'WARNING: skipping paragraph macro: br before sp' from mandoc
- Also handles the common pattern of .br-empty-.br by removing both .br macros
- Added comprehensive test cases for the new patterns
- All mandoc 'br before sp' warnings are now resolved
2026-03-19 16:26:49 +01:00
Sylvestre LedruandDaniel Hofstetter b73d67e9bb refactor: extract manpage post-processing into a function with tests
- Move manpage post-processing logic into post_process_manpage() function
- Add comprehensive unit tests for all post-processing functionality
- Improve .br macro handling to correctly fix mandoc warnings
- Tests cover TH header fixes, whitespace removal, and .br pattern fixes
2026-03-19 16:26:49 +01:00
Sylvestre LedruandDaniel Hofstetter 1c29ec7bdb fix: resolve mandoc lint warnings in generated manpages
- Fix TH header: uppercase command names and remove invalid date format
- Remove trailing whitespace from all manpage lines
- Fix redundant .br paragraph macros that cause mandoc warnings
- Post-process manpage output to ensure compliance with mandoc standards
2026-03-19 16:26:49 +01:00
✿ Fleur de BlueandGitHub 194d9807de build: sort coreutils entries at build time (#10820) 2026-02-08 12:39:33 -08:00
oech3andGitHub 398e4bac52 coreutils: Let the name *utils valid (#10729) 2026-02-05 21:16:45 +01:00
Dorian PéronandGitHub fdb7bd7e50 Merge pull request #7936 from Its-Just-Nans/fix-doc-hashs
fix docs test
2026-02-05 03:01:56 +01:00
e7f82473a8 coreutils: output proper error for unrecognized options (#9869)
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2026-02-04 22:14:27 +01:00
oech3andGitHub 4854ba692e tests/misc/coreutils.sh: Fail with invalid binary name (#10258) 2026-02-04 22:11:52 +01:00
✿ Fleur de BlueandGitHub 2a2cafdbd4 Re-enable unused_qualifications lint (#10571) 2026-02-03 21:55:21 +01:00
n4n5 2c3e55a193 fix: space 2026-01-31 10:45:12 -07:00
n4n5 ad0aec270e fix rm hashsum 2026-01-31 10:44:17 -07:00
n4n5 ada45dbaf8 Merge branch 'main' into fix-doc-hashs 2026-01-31 10:39:22 -07:00
xtqqczze 241091dd2c clippy: fix map_clone lint 2026-01-31 12:16:31 +00:00
Ruiyang WangandGitHub eb482fb2ee uudoc: move tldr.zip warning to build.rs (#10039)
Move the tldr.zip missing warning from runtime (uudoc.rs) to compile
time (build.rs). This ensures the warning is printed only once during
the build, instead of 100+ times when make calls uudoc separately for
each utility.

Fixes #9940
2026-01-18 18:54:50 +01:00
oech3 ee3163ab2c coreutils: Remove limitation for prefix 2026-01-16 14:12:59 +09:00
Haowei HsuandGitHub 730b0a6590 style(uudoc): update header formatting for options and examples (#10004)
Adjust the formatting of the options and examples sections in the
uudoc output to use Markdown headers:

- Change `<h2>Options</h2>` to `## Options`
- Change `Examples` to `## Examples`
- Add regression test to prevent reverting to HTML headers
2026-01-03 17:58:45 +01:00
Sylvestre LedruandGitHub 2c04f5ce05 Merge branch 'main' into fix-doc-hashs 2025-12-29 13:44:14 +01:00
Daniel HofstetterandGitHub 3108c45d23 Merge pull request #9584 from dgilman/main
use github URLs for fetching tldr.zip
2025-12-08 09:24:45 +01:00