From aa866c26a35f6fa268dfc9064b1495ff93e89f91 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sun, 13 Nov 2022 09:03:45 +0100 Subject: [PATCH] extends standalone help output --- .../src/com/minres/rdl/generator/Main.xtend | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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) {