diff --git a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend index 0e1da98..87beb18 100644 --- a/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend +++ b/com.minres.rdl.parent/com.minres.rdl/src/com/minres/rdl/generator/Main.xtend @@ -24,7 +24,20 @@ import java.io.File class Main { val USAGE_STR = ''' - RDL2code [-h] [-v] [-f] [-fw] [-sc [-n ]] [-I ] + RDL2code [-h] [-v] [-f] [-I ] [-o ] [-sc [-n ] [-sc-dir ]] [-fw [-fw-dir ]] + The following switches are supported: + -h prints help page + -v verbose output + -f force overwrite existing files + -I include directory to search included RDL files + -o output directory of generated files + -fw generate FW include files. The following sub + switches are supported: + -fw-dir set the directory modifier (relative path to output dir + -sc generate SystemC stubs. The following sub switches + are supported + -n the namespace to use for the generated SystemC component + -sc-dir set the directory modifier (relative path to output dir ''' def static main(String[] args) {