readme.md: update `example` to `example.out`; reformat

This commit is contained in:
Intel A80486DX2-66 2024-04-21 19:45:24 +03:00
parent cba14c3949
commit 3385e48654
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B
1 changed files with 3 additions and 4 deletions

View File

@ -13,18 +13,17 @@ header only argument parsing for c inspired by the simplicity of [argh](https://
```bash
>> make
>> ./example -lph5 asdf 123
>> ./example.out -lph5 asdf 123
head: 5, prefix: 1, lz4: 1
pos arg 0: asdf
pos arg 1: 123
>> ./example --lz4 asdf -p 123 --head 5
>> ./example.out --lz4 asdf -p 123 --head 5
head: 5, prefix: 1, lz4: 1
pos arg 0: asdf
pos arg 1: 123
>> ./example asdf 123 --head 5 --lz4
>> ./example.out asdf 123 --head 5 --lz4
head: 5, prefix: 0, lz4: 1
pos arg 0: asdf
pos arg 1: 123