Skip to content

Start deprecating dangerous -h/-V aliases#11359

Open
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:hV
Open

Start deprecating dangerous -h/-V aliases#11359
oech3 wants to merge 1 commit intouutils:mainfrom
oech3:hV

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Mar 17, 2026

There are -h and -V short aliases (extensions), but they are risky.
If people started using them, sort -h would breaks scripts.

Unfortunalely, this requires additional step for clap...

@oech3 oech3 changed the title Start deprecating dangerout -h/-V aliases Start deprecating dangerous -h/-V aliases Mar 17, 2026
@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/expand/bounded-memory is now passing!

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/date/date-locale-hour (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/expand/bounded-memory is now passing!

@xtqqczze
Copy link
Contributor

Aliases for --help and --version?

@oech3
Copy link
Contributor Author

oech3 commented Mar 17, 2026

yes

@xtqqczze
Copy link
Contributor

xtqqczze commented Mar 17, 2026

I see, for sort, -h conflicts with --human-numeric-sort and -V conflicts with --version-sort.

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.

2 participants