summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/internal/slibtool_driver_impl.h2
-rw-r--r--src/skin/slbt_skin_stoolie.c7
2 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 656b50a..65e5f96 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -112,6 +112,8 @@ enum app_tags {
TAG_STLE_DRY_RUN,
TAG_STLE_SILENT,
TAG_STLE_VERBOSE,
+ TAG_STLE_WARNINGS,
+ TAG_STLE_NO_WARNINGS,
};
struct slbt_split_vector {
diff --git a/src/skin/slbt_skin_stoolie.c b/src/skin/slbt_skin_stoolie.c
index 5aa6700..598a410 100644
--- a/src/skin/slbt_skin_stoolie.c
+++ b/src/skin/slbt_skin_stoolie.c
@@ -41,5 +41,12 @@ const slbt_hidden struct argv_option slbt_stoolie_options[] = {
"generate lots of informational messages "
"that nobody can understand."},
+ {"warnings", 'W',TAG_STLE_WARNINGS,ARGV_OPTARG_REQUIRED,0,
+ "all|none|error|doubt|concern|environment|file",0,
+ "specify category of warnings to display (or not)."},
+
+ {"no-warnings", 0,TAG_STLE_NO_WARNINGS,ARGV_OPTARG_NONE,0,0,0,
+ "suppress all warning messages (or not)."},
+
{0,0,0,0,0,0,0,0}
};