Skip to content

ptx: report that -g/-w negatve_num as invalid - #14324

Open
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:ptx-clap
Open

ptx: report that -g/-w negatve_num as invalid#14324
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:ptx-clap

Conversation

@oech3

@oech3 oech3 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Closes #14315

No need to remove clap just for reporting -g -5 as (invalid) value:

> target/debug/ptx -g -5 f
error: invalid value '-5' for '--gap-size <NUMBER>': invalid digit found in string

For more information, try '--help'.

@sylvestre
sylvestre enabled auto-merge (rebase) August 31, 2026 07:10
auto-merge was automatically disabled August 31, 2026 07:53

Head branch was pushed to by a user without write access

@oech3 oech3 changed the title ptx: report that -g negatve_num as invalid ptx: report that -g/-w negatve_num as invalid Aug 31, 2026
@github-actions

github-actions Bot commented Aug 31, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/cut/bounded-memory (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/timeout/timeout-group (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/tail-n0f (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/tail/truncate is no longer failing!

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.

1 participant