Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
42e77c84
Commit
42e77c84
authored
Jun 08, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Added --help command line option.
parent
e3dfbe33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
widl.c
tools/widl/widl.c
+6
-0
No files found.
tools/widl/widl.c
View file @
42e77c84
...
...
@@ -56,6 +56,7 @@ static const char usage[] =
" -d n Set debug level to 'n'
\n
"
" -D id[=val] Define preprocessor identifier id=val
\n
"
" -E Preprocess only
\n
"
" --help Display this help and exit
\n
"
" -h Generate headers
\n
"
" -H file Name of header file (default is infile.h)
\n
"
" -I path Set include search dir to path (multiple -I allowed)
\n
"
...
...
@@ -149,6 +150,7 @@ enum {
PREFIX_ALL_OPTION
,
PREFIX_CLIENT_OPTION
,
PREFIX_SERVER_OPTION
,
PRINT_HELP
,
WIN32_OPTION
,
WIN64_OPTION
,
WIN32_ALIGN_OPTION
,
...
...
@@ -160,6 +162,7 @@ static const char short_options[] =
static
const
struct
option
long_options
[]
=
{
{
"dlldata"
,
1
,
NULL
,
DLLDATA_OPTION
},
{
"dlldata-only"
,
0
,
NULL
,
DLLDATA_ONLY_OPTION
},
{
"help"
,
0
,
NULL
,
PRINT_HELP
},
{
"local-stubs"
,
1
,
NULL
,
LOCAL_STUBS_OPTION
},
{
"oldnames"
,
0
,
NULL
,
OLDNAMES_OPTION
},
{
"output"
,
0
,
NULL
,
'o'
},
...
...
@@ -526,6 +529,9 @@ int main(int argc,char *argv[])
case
PREFIX_SERVER_OPTION
:
prefix_server
=
xstrdup
(
optarg
);
break
;
case
PRINT_HELP
:
fprintf
(
stderr
,
"%s"
,
usage
);
return
0
;
case
WIN32_OPTION
:
do_win32
=
1
;
do_win64
=
0
;
...
...
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