docs: fix syz-headerparser documentation

Remove the --device option from the documentation file
docs/hedaerparser_usage.md
This commit is contained in:
Zubin Mithra 2017-08-27 13:13:22 +01:00 committed by Dmitry Vyukov
parent e2ffb4fc91
commit 5857966468

View File

@ -19,7 +19,7 @@ $ pip install pycparser
## Using headerparser
```shell
$ python headerparser.py --device th_b --filenames=./test_headers/th_b.h
$ python headerparser.py --filenames=./test_headers/th_b.h
B {
B1 len|fileoff|flags|intN #(unsigned long)
B2 len|fileoff|flags|intN #(unsigned long)
@ -37,7 +37,7 @@ You can copy paste the content underneath the `Structure Metadata` over to your
Let us try parsing `test_headers/th_a.h` header file to generate argument structs.
```shell
$ python headerparser.py --device th_a --filenames=./test_headers/th_a.h
$ python headerparser.py --filenames=./test_headers/th_a.h
ERROR:root:HeaderFilePreprocessorException: /tmp/tmpW8xzty/source.o:36:2: before: some_type
$ python headerparser.py --filenames=./test_headers/th_a.h --debug
@ -62,4 +62,4 @@ A {
another_bool _Bool #(_Bool)
var some_type #(some_type)
}
```
```