aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZubin Mithra <zsm@google.com>2017-08-27 13:13:22 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-08-27 18:17:00 +0200
commit58579664687b203ff34fad8aa02bf470ef0bc981 (patch)
treea6c256a40240012cadcf99d9f3be43511959d6c1
parente2ffb4fc9111e28f1d8e0e987cb06172cbbd4e84 (diff)
docs: fix syz-headerparser documentation
Remove the --device option from the documentation file docs/hedaerparser_usage.md
-rw-r--r--docs/headerparser_usage.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/headerparser_usage.md b/docs/headerparser_usage.md
index 3bea38dbd..384775801 100644
--- a/docs/headerparser_usage.md
+++ b/docs/headerparser_usage.md
@@ -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)
}
-``` \ No newline at end of file
+```