Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv2v
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
sv2v
Commits
ae239f16
Commit
ae239f16
authored
Aug 07, 2019
by
Zachary Snow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated usage documentation
parent
9b7d003e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
README.md
+3
-1
src/Job.hs
+5
-3
No files found.
README.md
View file @
ae239f16
...
@@ -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
...
...
src/Job.hs
View file @
ae239f16
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment