Commit ae239f16 by Zachary Snow

updated usage documentation

parent 9b7d003e
...@@ -69,9 +69,11 @@ sv2v [OPTIONS] [FILES] ...@@ -69,9 +69,11 @@ sv2v [OPTIONS] [FILES]
Common flags: Common flags:
-e --exclude=CONV exclude a particular conversion (always, -e --exclude=CONV exclude a particular conversion (always,
interface, logic) interface, or logic)
-i --incdir=DIR add directory to include search path -i --incdir=DIR add directory to include search path
-d --define=NAME[=VALUE] define a macro for preprocessing -d --define=NAME[=VALUE] define a macro for preprocessing
-o --oneunit put all files in one compilation unit, so macros
from earlier files remain defined in later files
-? --help Display help message -? --help Display help message
-V --version Print version information -V --version Print version information
--numeric-version Print just the version number --numeric-version Print just the version number
......
...@@ -26,11 +26,13 @@ data Job = Job ...@@ -26,11 +26,13 @@ data Job = Job
defaultJob :: Job defaultJob :: Job
defaultJob = Job defaultJob = Job
{ exclude = [] &= typ "CONV" { exclude = [] &= typ "CONV"
&= help "exclude a particular conversion (always, interface, logic)" &= help "exclude a particular conversion (always, interface, or logic)"
, files = def &= args &= typ "FILES" , files = def &= args &= typ "FILES"
, incdir = def &= typDir &= help "add directory to include search path" , incdir = def &= typDir &= help "add directory to include search path"
, define = def &= typ "NAME[=VALUE]" &= help "define a macro for preprocessing" , define = def &= typ "NAME[=VALUE]" &= help ("define a macro for"
, oneunit = False &= help "compile all files in one compilation unit" ++ " preprocessing")
, oneunit = False &= help ("put all files in one compilation unit, so"
++ " macros from earlier files remain defined in later files")
} }
&= program "sv2v" &= program "sv2v"
&= summary "sv2v v0.0.1, (C) 2019 Zachary Snow, 2011-2015 Tom Hawkins" &= summary "sv2v v0.0.1, (C) 2019 Zachary Snow, 2011-2015 Tom Hawkins"
......
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