Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Apr 17, 2024
1 parent dff2dc6 commit d267c15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ using SimpleArgParse: ArgumentParser, add_argument, add_example, generate_usage,
function main()
:Int

args::ArgumentParser = ArgumentParser(description="SimpleArgParse example.", add_help=true)
args = ArgumentParser(description="SimpleArgParse example.", add_help=true)
args = add_argument(args, "-i", "--input", type=String, required=true, default="filename.txt", description="Input file.")
args = add_argument(args, "-n", "--number", type=UInt8, default=0, description="Integer number.")
args = add_argument(args, "-v", "--verbose", type=Bool, default=false, description="Verbose mode switch.")
Expand Down Expand Up @@ -110,6 +110,10 @@ That is about as simple as it gets and closely follows Python's [`argparse`](htt

## Changelog

### Release 1.1.0

- Switched the hashmap keys to a simple counter, resulting in faster execution. Contributed by [Eben60](https://github.com/Eben60).

### Release 1.0.0

- Changed hashmap key from 8-bit to 16-bit to reduce collision likelihood.
Expand Down

0 comments on commit d267c15

Please sign in to comment.