-
https://github.com/Rust-GCC/cargo-gccrs/pull/5#discussion_r649516391
-
Scripts currently use $1, $2 etc for command line parameters. This is hardly robust. Implement getopts and do some input validation while you're at it, if possible.
-
**Is your feature request related to a problem? Please describe.**
Manual parsing of arguments makes code harder to read can cause issues like one that is reported here: https://github.com/thesofproj…
-
**CI for that target is currently disabled due to this issue.**
Hello, traveler.
I have stories to tell of strange bugs from unseen lands. Monsters which flicker in and out of sight, vanishing i…
-
http://mywiki.wooledge.org/BashFAQ/035
-
**Describe the bug**
```js
// src/index.ts
import getopts from 'getopts'
const args = getopts(process.argv.slice(2), {
alias: {
watch: 'w',
target: 't',
outDir:…
-
It would be cool if `--help` etc. could be used in addition to `-h`.
-
`getopts` assigns default values to string (`''`), number (`0`) and boolean (`false`) options.
Issues:
1. Not compatible with JS default values:
```js
const { foo = 'bar' } = getopts(argv, { str…
-
When building `rust-getopts` with tests enabled on Guix, I got the following error message:
```
Running .guix-tests/smoke
running 1 test
test main ... FAILED
failures:
---- main stdout -…
-
Getopts does not support the dmenu's single dash longopts, we should only support the dmenu opts with single dash. Preprocess those before getopts perhaps.