From b021090e7f1ffb9abe327b2f71dae7ba6b5a0a2b Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Fri, 22 Mar 2024 15:58:18 -0400 Subject: [PATCH] Remove deprecated `-i` for `--include` (use `-I`) --- src/asm/main.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/asm/main.cpp b/src/asm/main.cpp index 7c6d84f7..13ecdf81 100644 --- a/src/asm/main.cpp +++ b/src/asm/main.cpp @@ -48,7 +48,7 @@ static std::string make_escape(std::string &str) { } // Short options -static char const *optstring = "b:D:Eg:i:I:M:o:P:p:Q:r:VvW:wX:"; +static char const *optstring = "b:D:Eg:I:M:o:P:p:Q:r:VvW:wX:"; // Variables for the long-only options static int depType; // Variants of `-M` @@ -167,11 +167,6 @@ int main(int argc, char *argv[]) { errx("Must specify exactly 4 characters for option 'g'"); break; - // `-i` was the only short option for `--include` until `-I` was - // introduced to better match the `-I dir` option of gcc and clang. - case 'i': - warning(WARNING_OBSOLETE, "`-i` is deprecated; use `-I`\n"); - [[fallthrough]]; case 'I': fstk_AddIncludePath(musl_optarg); break;