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

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/cut/bounded-memory (passes in this run but fails in the 'main' branch)
Skipping an intermittent issue tests/tail/follow-name (passes in this run but fails in the 'main' branch)
Note: The gnu test tests/dd/no-allocate is now being skipped but was previously passing.
Congrats! The gnu test tests/pr/bounded-memory is now passing!

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