Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9c932e53
Commit
9c932e53
authored
Apr 15, 2005
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 15, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention the 'emf' and 'lnk' modes in the usage summary.
Add -? and --help synonyms for -h as is customary. puts("") already prints a '\n' so we don't need a second one.
parent
86d5520c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
main.c
tools/winedump/main.c
+6
-4
No files found.
tools/winedump/main.c
View file @
9c932e53
...
...
@@ -207,7 +207,9 @@ struct option
};
static
const
struct
option
option_table
[]
=
{
{
"-h"
,
NONE
,
0
,
do_usage
,
"-h Display this help message"
},
{
"--help"
,
NONE
,
0
,
do_usage
,
"--help Display this help message"
},
{
"-h"
,
NONE
,
0
,
do_usage
,
"-h Synonym for --help"
},
{
"-?"
,
NONE
,
0
,
do_usage
,
"-? Synonym for --help"
},
{
"sym"
,
DMGL
,
0
,
do_demangle
,
"sym <sym> Demangle C++ symbol <sym> and exit"
},
{
"spec"
,
SPEC
,
0
,
do_spec
,
"spec <dll> Use dll for input file and generate implementation code"
},
{
"-I"
,
SPEC
,
1
,
do_include
,
"-I dir Look for prototypes in 'dir' (implies -c)"
},
...
...
@@ -235,9 +237,9 @@ static const struct option option_table[] = {
void
do_usage
(
void
)
{
const
struct
option
*
opt
;
printf
(
"Usage: winedump [-h | sym <sym> | spec <dll> | dump <dll>]
\n
"
);
printf
(
"Usage: winedump [-h | sym <sym> | spec <dll> | dump <dll>
| emf <emf> | lnk <lnk>
]
\n
"
);
printf
(
"Mode options (can be put as the mode (sym/spec/dump...) is declared):
\n
"
);
printf
(
"
\t
When used in -
h
mode
\n
"
);
printf
(
"
\t
When used in -
-help
mode
\n
"
);
for
(
opt
=
option_table
;
opt
->
name
;
opt
++
)
if
(
opt
->
mode
==
NONE
)
printf
(
"
\t
%s
\n
"
,
opt
->
usage
);
...
...
@@ -262,7 +264,7 @@ void do_usage (void)
if
(
opt
->
mode
==
LNK
)
printf
(
"
\t
%s
\n
"
,
opt
->
usage
);
puts
(
"
\n
"
);
puts
(
""
);
exit
(
1
);
}
...
...
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