Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stty: negated operands rejected by clap #6820

Open
andrewliebenow opened this issue Oct 24, 2024 · 0 comments
Open

stty: negated operands rejected by clap #6820

andrewliebenow opened this issue Oct 24, 2024 · 0 comments
Labels

Comments

@andrewliebenow
Copy link
Contributor

❯ coreutils stty -ixon ; coreutils printf '%s\n' "${?:?}"
error: unexpected argument '-i' found

  tip: to pass '-i' as a value, use '-- -i'

Usage: coreutils stty [-F DEVICE | --file=DEVICE] [SETTING]...
       coreutils stty [-F DEVICE | --file=DEVICE] [-a|--all]
       coreutils stty [-F DEVICE | --file=DEVICE] [-g|--save]

For more information, try '--help'.
1

❯ /usr/bin/stty -ixon ; coreutils printf '%s\n' "${?:?}"
0

See #6798

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants