3 ms·
If you refer to my example above, you'll find that Bash's native "getopts" handles long options just fine. It accepts short option `-`, with an argument. This h
by databasher 4y ago
If you refer to my example above, you'll find that Bash's native "getopts" handles long options just fine. It accepts short option `-`, with an argument. This handles --long-options and --long-options=with-arguments.
Feel free to use your own formatting preferences.
- sacnoradhq 4y agohttps://google.github.io/styleguide/shellguide.html https://google.github.io/styleguide/shellguide.html