KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.82k stars 453 forks source link

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

Open OPhamster opened 2 weeks ago

OPhamster commented 2 weeks ago

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