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

fix(linewrap): Linewrap doesn't require an additional argument #797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OPhamster
Copy link

@OPhamster OPhamster commented Jun 23, 2024

Given w is simply a flag not a option in the sense that it requires an additional argument. getopts opts suffixed with a : require an additional arg.1

If a character is
followed by a <colon>, the option shall be expected to
have an argument, which should be supplied as a
separate argument.

Fixes #752

Given `w` is simply a flag not a option in the sense that it requires an
additional argument. `getopts` opts suffixed with a `:` require an additional arg.[1]

```quote
If a character is
followed by a <colon>, the option shall be expected to
have an argument, which should be supplied as a
separate argument.
```

[1]: https://man7.org/linux/man-pages/man1/getopts.1p.html
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.

BUG: screenfetch -w reports "[[ ! ]] Error: You're missing an argument somewhere. Exiting."
1 participant