diff options
| author | Alex Flint <[email protected]> | 2024-06-30 10:32:09 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-30 10:32:09 -0400 |
| commit | b6422dcbc3ca07c96adfcab27e1f6b9a7af93160 (patch) | |
| tree | 239bae3dabf18d6024645d593bbe6dee87d2f57f /README.md | |
| parent | 56ee7c97acb3a23c0732440ee9d6157e7011c6b2 (diff) | |
| parent | 582e6d537a34c8d16bbb401b70f590d5502bbd73 (diff) | |
Merge pull request #233 from testwill/typo
fix: typo
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -608,7 +608,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 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. +The `flag` library that ships in the standard library seems awkward to me. Positional arguments must precede 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. |
