summaryrefslogtreecommitdiffstats
path: root/tests/misc/getopt_vs_usage.sh
AgeCommit message (Collapse)AuthorLines
2026-01-22doc: use TERM=dumb rather than HELP_NO_MARKUP to disable markupPádraig Brady-2/+2
This is a more standard mechanism to disable markup. * src/system.h (oputs_): Logic change to honor TERM=dumb, rather than HELP_NO_MARKUP=something. * doc/coreutils.texi: Adjust the description for --help. * man/local.mk: Ensure TERM is set to something, so that man pages have links included. * man/viewman: Just honor users $TERM. * tests/misc/getopt_vs_usage.sh: Remove env var complication, as TERM is unset automatically. * tests/misc/usage_vs_refs.sh: Likewise. * NEWS: Adjust the change in behavior note.
2026-01-21doc: ls: support styling and links in --help outputPádraig Brady-2/+2
* src/ls.c (oputs): A new function that wraps puts(), but also highlights the --option-text portion, and adds links to the appropriate part of the online manual. (usage): Call oputs() rather than puts(). * doc/coreutils.texi (--help): Document new HELP_NO_MARKUP env var, which can be used in the edge case one wants to suppress ansi escapes. * tests/misc/getopt_vs_usage.sh: Use HELP_NO_MARKUP to ensure the test continues to pass.
2026-01-01maint: run 'make update-copyright'Collin Funk-1/+1
2025-11-16tests: verify we document all supported options in --helpPádraig Brady-0/+59
* tests/misc/getopt_vs_usage.sh: A new test which checks the converse of usage_vs_getopt.sh * tests/local.mk: Reference the new test.