projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the macro constant INVALID_TYPE, which is only used in comparisons, but never...
[cparser]
/
warning.c
diff --git
a/warning.c
b/warning.c
index
354d502
..
975f2d0
100644
(file)
--- a/
warning.c
+++ b/
warning.c
@@
-92,7
+92,9
@@
void print_warning_opt_help(void)
{
/* TODO: write explanations */
for (warning_switch_t* i = warning; i != endof(warning); ++i) {
{
/* TODO: write explanations */
for (warning_switch_t* i = warning; i != endof(warning); ++i) {
- put_help(i->name, "");
+ char buf[256];
+ snprintf(buf, sizeof(buf), "-W%s", i->name);
+ put_help(buf, "");
}
}
}
}