aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-08-08 11:29:41 +0000
committerbloodstalker <thabogre@gmail.com>2018-08-08 11:29:41 +0000
commit53df7b050b9a07bc0719408b183fc1e8f8cba0fb (patch)
tree99d82cc77987ac4d327cad552054ad4b63ac7101 /README.md
parentupdate (diff)
downloadfaultreiber-53df7b050b9a07bc0719408b183fc1e8f8cba0fb.tar.gz
faultreiber-53df7b050b9a07bc0719408b183fc1e8f8cba0fb.zip
update
Diffstat (limited to 'README.md')
-rw-r--r--README.md33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md
index ee26425..f3aefd9 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,39 @@ The `FT::conditional` tag for a type means that the actual content of the node w
A node referencing another node as the value of its `type` attribute is insensitive to the order in which the nodes appear under their parent node, `DEFINITION`.<br/>
`size` attribute is currently only meaningful when the `type` attribute is set as `string` in which case it denotes the size of the string.<br/>
+## Options
+
+```bash
+ -h, --help show this help message and exit
+ --targetname TARGETNAME
+ main target name
+ --outdir OUTDIR path to output dir
+ --structs STRUCTS the structs json file
+ --structsinclude STRUCTSINCLUDE
+ the path to the header that's going to be included by
+ structs.h before structure declarations.
+ --xml XML paht to the xml file
+ --dbg debug
+ --datetime print date and time in autogen files
+ --inline inlines reader funcs
+ --static statics reader funcs
+ --verbose verbose
+ --forcenullterm terminate all strings with null even if they are not
+ originally null-terminated
+ --strbuffersize STRBUFFERSIZE
+ the size of the buffer for string reads
+ --strbuffgrowfactor STRBUFFGROWFACTOR
+ the factor by which the strbuffer will grow
+ --voidbuffersize VOIDBUFFERSIZE
+ the size of the buffer for void* buffer
+ --voidbuffgrowfactor VOIDBUFFGROWFACTOR
+ the factor by which the voidbuffer will grow
+ --singlefile the generated code will be put in a single file
+ --singlefilename SINGLEFILENAME
+ name of the single file
+```
+
+
## limitations
Big-Endian reads are not supported.<br/>
Only files that are instantly-decodable(need a single pass) are supported.<br/>