readme.md: update `example` to `example.out`; reformat
This commit is contained in:
parent
cba14c3949
commit
3385e48654
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue