From patchwork Sat May 4 15:04:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Boeckel X-Patchwork-Id: 1931355 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kitware.com header.i=@kitware.com header.a=rsa-sha256 header.s=google header.b=haQDChPJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VWrZl1LGRz1ybC for ; Sun, 5 May 2024 01:05:35 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 58FBE386F440 for ; Sat, 4 May 2024 15:05:33 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) by sourceware.org (Postfix) with ESMTPS id 49FF33844052 for ; Sat, 4 May 2024 15:05:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 49FF33844052 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=kitware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kitware.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 49FF33844052 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::729 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714835112; cv=none; b=MwU6khAiSEaL6R/qurDs+KL4GrR/RZiJvbv49gay9rYXLD6p07u9dMCPOiaOpS3qofCw/Iqj6LoQor+OwLTXH3Y9GCz42PcgW+vYXkhTBL1ZOkYbpeNHAfEqL4yK1DCL/3z8aW+Jh9W1cyolTrWawekm5C4+2dHOK88BtmNCDFY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714835112; c=relaxed/simple; bh=WvyXeMW1+/IhuMNZgnAXIgxHm51OQzbuB3uSzQA02gI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GNiYzPs+yTezqubSih6V0YgyX1/yut2942OFSSzFluCyqvWC9JVelf+2mYAUMbhrtGf9a1IYmUD7GAMnvyN29WjhZrs8KROIJCnW3WXJlkwscEXJphTEx2vi+uFHDlCtpNXH/SKYN4meyseQ2i5xhULCXwWFNZDFPvSt9ED/fIU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-79291d441fbso12277485a.0 for ; Sat, 04 May 2024 08:05:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kitware.com; s=google; t=1714835110; x=1715439910; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UZuF5H9ylLASEN8YswjboVpVfBdMMXyPhzLhwciMaMA=; b=haQDChPJhhaLvZ+ftFfmOO99X8XH478l5X8GW5DSxppZOKiRKRS7SVOYOP0KQLXs/R w8ndrt8AkgnzFAtH9T3ZJiNxESi1e3O+UhP1ujw/jX21EGb/6akSgbU6ouw9m+UJi5LW alr8AfHxZGgLn95gjbXkzXh5fVDNISPH3iWnQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714835110; x=1715439910; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UZuF5H9ylLASEN8YswjboVpVfBdMMXyPhzLhwciMaMA=; b=m32LO9VmHu8hIzE6AggC82LKOagTGV2YUMqyTptowrWek4ebhT+1noVY5FEOdj/lr0 n4v/Q9ZBb1YhAm/WVfu5h+WhPpDPEZAwtOjvowFlbkBAudGmd/2evXDG/OgjcvlL2AIs pl/2gdxASaneo5IM0wTwGvcYFXVap1FnDtmgG/9ENzSGWiff0s8x1yr7wC5ilteATK0/ a00f+TXSX9PPdMoh2GG9Iex+s5ZVhi+caXbe7Tf57Ce7e/pTxcye7lRRNfm+ryykgc6O jB9SxgGcz3vqLimoky1LBZ9laMtMPBuhVC0Wo+afpebHiY2BHo+9n8viterefGr37o9T QM7A== X-Gm-Message-State: AOJu0Yz3NfvYi5R6s6t65ke9MRS13rFpYSFBAR5fZrTWgJwmYb2nJuwP wAENdW9K151iAnwlT6WPnbZGejg397DpTqnpwaZrg1Uc0UBy34BuNyCe7Tbl+9i6ddKaIfgE39s = X-Google-Smtp-Source: AGHT+IEJyLgKoG8o/we+IDWJxfmoiYgUdApzVq82XHAz68Ox8Pc4knk9ySDIoEfQiho9NfmU8+YEzA== X-Received: by 2002:a05:6214:1cc8:b0:6a0:6304:53fa with SMTP id g8-20020a0562141cc800b006a0630453famr5719285qvd.7.1714835110624; Sat, 04 May 2024 08:05:10 -0700 (PDT) Received: from localhost (syn-142-105-146-128.res.spectrum.com. [142.105.146.128]) by smtp.gmail.com with ESMTPSA id z5-20020a0ce605000000b006a0f8595c08sm2212644qvm.32.2024.05.04.08.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 08:05:10 -0700 (PDT) From: Ben Boeckel To: gcc-patches@gcc.gnu.org Cc: Brad King , Roland Illig , Ben Boeckel Subject: [PATCH 4/4] gcc/c-family/c.opt: clarify `-fdeps-*` flag documentation Date: Sat, 4 May 2024 11:04:46 -0400 Message-ID: <20240504150446.473575-5-ben.boeckel@kitware.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240504150446.473575-1-ben.boeckel@kitware.com> References: <20240504150446.473575-1-ben.boeckel@kitware.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Move the only supported value (as of today) to the flag name itself. Also reword to clarify that the `-fdeps-file=` file will be written to. Fixes: 024f135a1e9 (p1689r5: initial support, 2023-09-01) Reported-by: Roland Illig gcc/c-family/ * c.opt: Clarify `-fdeps-*` documentation. Signed-off-by: Ben Boeckel --- gcc/c-family/c.opt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 56cccf2a67b..fa82eebb518 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -256,13 +256,13 @@ MT C ObjC C++ ObjC++ Joined Separate MissingArgError(missing makefile target after %qs) -MT Add a target that does not require quoting. -fdeps-format= +fdeps-format=p1689r5 C ObjC C++ ObjC++ NoDriverArg Joined MissingArgError(missing format after %qs) -Structured format for output dependency information. Supported (\"p1689r5\"). +Structured format for output dependency information. fdeps-file= C ObjC C++ ObjC++ NoDriverArg Joined MissingArgError(missing output path after %qs) -File for output dependency information. +File to write dependency information to. fdeps-target= C ObjC C++ ObjC++ NoDriverArg Joined MissingArgError(missing path after %qs)