diff options
| author | Alex Flint <[email protected]> | 2019-04-14 16:08:51 -0700 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2019-04-14 16:08:51 -0700 |
| commit | 891a07ec2933b560a6f7ddb470b173588bcf6863 (patch) | |
| tree | 16af86be4cdaaccb1f5e9c793d876f1b3a43df9a /README.md | |
| parent | e56211335f78ea75cdbea9b1989f7ce731052efc (diff) | |
more tweaks
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -360,7 +360,7 @@ https://godoc.org/github.com/alexflint/go-arg There are many command line argument parsing libraries for Go, including one in the standard library, so why build another? -The `flag` library that ships in the standard library I have found awkward to use. For example, positional arguments must preceed options, so `./prog x --foo=1` does what you expect but `./prog --foo=1 x` does not, and it does not allow arguments with both long (`--foo`) and short (`-f`) forms. +The `flag` library that ships in the standard library seems awkward to me. Positional arguments must preceed options, so `./prog x --foo=1` does what you expect but `./prog --foo=1 x` does not. It also does not allow arguments to have both long (`--foo`) and short (`-f`) forms. Many third-party argument parsing libraries are great for writing sophisticated command line interfaces, but feel to me like overkill for a simple script with a few flags. |
