From ab6aff3c35ba624747bbbb997d07edcc2544673c Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 9 Feb 2017 22:21:18 +0100 Subject: [PATCH] Use correct statistics counter for -optf/--options-file failure --- ccache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index 62f24ace7..c6b7b5d14 100644 --- a/ccache.c +++ b/ccache.c @@ -2158,7 +2158,7 @@ cc_process_args(struct args *args, struct args **preprocessor_args, if (str_eq(argv[i], "-optf") || str_eq(argv[i], "--options-file")) { if (i > argc) { cc_log("Expected argument after -optf/--options-file"); - stats_update(STATS_UNSUPPORTED_OPTION); + stats_update(STATS_ARGS); result = false; goto out; } -- 2.47.2