Commit 2d32fe9c by Zachary Snow

minor help text updates

parent 04d65bb3
...@@ -92,13 +92,13 @@ Below is the current usage printout. ...@@ -92,13 +92,13 @@ Below is the current usage printout.
sv2v [OPTIONS] [FILES] sv2v [OPTIONS] [FILES]
Preprocessing: Preprocessing:
-I --incdir=DIR Add directory to include search path -I --incdir=DIR Add a directory to the include search path
-y --libdir=DIR Add a directory to the library search path used -y --libdir=DIR Add a directory to the library search path used
when looking for undefined modules and interfaces when looking for undefined modules and interfaces
-D --define=NAME[=VALUE] Define a macro for preprocessing -D --define=NAME[=VALUE] Define a macro for preprocessing
--siloed Lex input files separately, so macros from --siloed Lex input files separately, so macros from
earlier files are not defined in later files earlier files are not defined in later files
--skip-preprocessor Disable preprocessor --skip-preprocessor Disable preprocessing of macros, comments, etc.
Conversion: Conversion:
--pass-through Dump input without converting --pass-through Dump input without converting
-E --exclude=CONV Exclude a particular conversion (Always, Assert, -E --exclude=CONV Exclude a particular conversion (Always, Assert,
...@@ -116,7 +116,7 @@ Other: ...@@ -116,7 +116,7 @@ Other:
number literals (e.g., 'h1_ffff_ffff, 4294967296) number literals (e.g., 'h1_ffff_ffff, 4294967296)
--dump-prefix=PATH Create intermediate output files with the given --dump-prefix=PATH Create intermediate output files with the given
path prefix; used for internal debugging path prefix; used for internal debugging
--help Display help message --help Display this help message
--version Print version information --version Print version information
--numeric-version Print just the version number --numeric-version Print just the version number
``` ```
......
...@@ -61,7 +61,7 @@ defaultJob :: Job ...@@ -61,7 +61,7 @@ defaultJob :: Job
defaultJob = Job defaultJob = Job
{ files = def &= args &= typ "FILES" { files = def &= args &= typ "FILES"
, incdir = nam_ "I" &= name "incdir" &= typDir , incdir = nam_ "I" &= name "incdir" &= typDir
&= help "Add directory to include search path" &= help "Add a directory to the include search path"
&= groupname "Preprocessing" &= groupname "Preprocessing"
, libdir = nam_ "y" &= name "libdir" &= typDir , libdir = nam_ "y" &= name "libdir" &= typDir
&= help ("Add a directory to the library search path used when looking" &= help ("Add a directory to the library search path used when looking"
...@@ -70,7 +70,8 @@ defaultJob = Job ...@@ -70,7 +70,8 @@ defaultJob = Job
&= help "Define a macro for preprocessing" &= help "Define a macro for preprocessing"
, siloed = nam_ "siloed" &= help ("Lex input files separately, so" , siloed = nam_ "siloed" &= help ("Lex input files separately, so"
++ " macros from earlier files are not defined in later files") ++ " macros from earlier files are not defined in later files")
, skipPreprocessor = nam_ "skip-preprocessor" &= help "Disable preprocessor" , skipPreprocessor = nam_ "skip-preprocessor"
&= help "Disable preprocessing of macros, comments, etc."
, passThrough = nam_ "pass-through" &= help "Dump input without converting" , passThrough = nam_ "pass-through" &= help "Dump input without converting"
&= groupname "Conversion" &= groupname "Conversion"
, exclude = nam_ "exclude" &= name "E" &= typ "CONV" , exclude = nam_ "exclude" &= name "E" &= typ "CONV"
...@@ -100,7 +101,7 @@ defaultJob = Job ...@@ -100,7 +101,7 @@ defaultJob = Job
&= details [ "sv2v converts SystemVerilog to Verilog." &= details [ "sv2v converts SystemVerilog to Verilog."
, "More info: https://github.com/zachjs/sv2v" , "More info: https://github.com/zachjs/sv2v"
, "(C) 2019-2023 Zachary Snow, 2011-2015 Tom Hawkins" ] , "(C) 2019-2023 Zachary Snow, 2011-2015 Tom Hawkins" ]
&= helpArg [explicit, name "help"] &= helpArg [explicit, name "help", help "Display this help message"]
&= versionArg [explicit, name "version"] &= versionArg [explicit, name "version"]
&= verbosityArgs [ignore] [ignore] &= verbosityArgs [ignore] [ignore]
where where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment