Skip to content

Commit

Permalink
Document new value formats
Browse files Browse the repository at this point in the history
febeling committed Dec 8, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 3140cde commit 607a940
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ Command line options package with narrow scope and ease of use.
- support boolean options (flags)
- support repeat options (`-n first -n second,third` to `["first", "second", "third"]`)
- long and short option names (e.g. `-s`, `--long`)
- use `=` for long format option value (`--name=val`)
- append value to short format option (`-nval`)
- no assumptions about defaults (leave room for config files, and env vars)
- no assumptions about subcommands (but easy to accomodate)
- explicit failure result instead of exceptions

0 comments on commit 607a940

Please sign in to comment.