[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/6] warnings: introduce -Wdeprecated in the usage info
From: |
Theophile Ranquet |
Subject: |
[PATCH 6/6] warnings: introduce -Wdeprecated in the usage info |
Date: |
Wed, 26 Sep 2012 15:45:16 +0200 |
From: Theophile Ranquet <address@hidden>
The deprecated warning, introduced some time ago, was not displayed in
the usage message. This patch addresses the issue.
* src/getargs.c (usage): Insert here.
Signed-off-by: Akim Demaille <address@hidden>
---
src/getargs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/getargs.c b/src/getargs.c
index 70a25e0..56d9724 100644
--- a/src/getargs.c
+++ b/src/getargs.c
@@ -343,13 +343,14 @@ Warning categories include:\n\
`yacc' incompatibilities with POSIX Yacc\n\
`conflicts-sr' S/R conflicts (enabled by default)\n\
`conflicts-rr' R/R conflicts (enabled by default)\n\
+ `deprecated' obsolete constructs\n\
`other' all other warnings (enabled by default)\n\
`all' all the warnings\n\
`no-CATEGORY' turn off warnings in CATEGORY\n\
`none' turn off all the warnings\n\
`error' treat warnings as errors\n\
-\n\
"), stdout);
+ putc ('\n', stdout);
fputs (_("\
THINGS is a list of comma separated words that can include:\n\
--
1.7.10
- [PATCH 0/6] {maint} errors: output prefixing, Theophile Ranquet, 2012/09/26
- [PATCH 6/6] warnings: introduce -Wdeprecated in the usage info,
Theophile Ranquet <=
- [PATCH 1/6] errors: indent "result type clash" error context, Theophile Ranquet, 2012/09/26
- [PATCH 3/6] errors: indent "%define var" redefinition context, Theophile Ranquet, 2012/09/26
- [PATCH 4/6] errors: indent "invalid value for %define" context, Theophile Ranquet, 2012/09/26
- [PATCH 5/6] errors: prefix the output with "error: ", Theophile Ranquet, 2012/09/26
- [PATCH 2/6] errors: indent "symbol redeclaration" context, Theophile Ranquet, 2012/09/26
- Re: [PATCH 0/6] {maint} errors: output prefixing, Akim Demaille, 2012/09/26