diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-06-21 18:41:13 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-07-03 07:02:44 +0200 |
commit | 6d35340556ddfe298f5b83c86364546aec176c37 (patch) | |
tree | cdfe34e7fd91d22f45cf3330f871e3ac15552a5c /src/getargs.h | |
parent | 1161649446ddf96eaf400c38a2217759be41e5bc (diff) | |
download | bison-6d35340556ddfe298f5b83c86364546aec176c37.tar.gz |
gnulib: use new features of the argmatch module
It can now generate the usage message.
* src/complain.h (feature_fixit_parsable): Rename as...
(feature_fixit): this, for column economy.
Adjust dependencies.
(warning_usage): New.
Use it.
* src/complain.h, src/complain.c, src/getargs.h, src/getargs.c:
Use ARGMATCH_DEFINE_GROUP instead of the older interface.
Diffstat (limited to 'src/getargs.h')
-rw-r--r-- | src/getargs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getargs.h b/src/getargs.h index 0cc4daed..ab6af6c3 100644 --- a/src/getargs.h +++ b/src/getargs.h @@ -118,7 +118,7 @@ enum feature { feature_none = 0, /**< No additional feature. */ feature_caret = 1 << 0, /**< Output errors with carets. */ - feature_fixit_parsable = 1 << 1, /**< Issue instructions to fix the sources. */ + feature_fixit = 1 << 1, /**< Issue instructions to fix the sources. */ feature_syntax_only = 1 << 2, /**< Don't generate output. */ feature_all = ~0 /**< All above features. */ }; |