From nobody Mon Feb 9 10:33:21 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1650587143985448.84017799788046; Thu, 21 Apr 2022 17:25:43 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.310544.527444 (Exim 4.92) (envelope-from ) id 1nhh6c-0001Qw-6E; Fri, 22 Apr 2022 00:25:02 +0000 Received: by outflank-mailman (output) from mailman id 310544.527444; Fri, 22 Apr 2022 00:25:02 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nhh6c-0001Qp-3K; Fri, 22 Apr 2022 00:25:02 +0000 Received: by outflank-mailman (input) for mailman id 310544; Fri, 22 Apr 2022 00:25:01 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nhh6b-0001Qj-8G for xen-devel@lists.xenproject.org; Fri, 22 Apr 2022 00:25:01 +0000 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id a2f2f251-c1d2-11ec-8fc2-03012f2f19d4; Fri, 22 Apr 2022 02:24:58 +0200 (CEST) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 23M0OjT1006761 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 21 Apr 2022 20:24:51 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 23M0Og3P006760; Thu, 21 Apr 2022 17:24:42 -0700 (PDT) (envelope-from ehem) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: a2f2f251-c1d2-11ec-8fc2-03012f2f19d4 Message-Id: From: Elliott Mitchell Cc: Andrew Cooper Cc: George Dunlap Cc: Jan Beulich Cc: Julien Grall Cc: Stefano Stabellini Cc: Wei Liu Date: Thu, 21 Apr 2022 07:35:14 -0700 Subject: [PATCH] scripts/add_maintainers.pl: add -o as an alternative to --patchdir To: xen-devel@lists.xenproject.org X-Spam-Status: No, score=1.5 required=10.0 tests=DATE_IN_PAST_06_12, KHOP_HELO_FCRDNS autolearn=no autolearn_force=no version=3.4.5 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on mattapan.m5p.com X-ZM-MESSAGEID: 1650587144975100001 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This matches the output directory option used by `git format-patch`. I suspect I'm not the only one who finds matching `git format-patch` more intuitive, than -d for directory. Signed-off-by: Elliott Mitchell Reviewed-by: Juergen Gross --- scripts/add_maintainers.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/add_maintainers.pl b/scripts/add_maintainers.pl index 5a6d0f631b..380e8da22a 100755 --- a/scripts/add_maintainers.pl +++ b/scripts/add_maintainers.pl @@ -32,7 +32,7 @@ $get_maintainer =3D~ s/add_maintainers/get_maintainer/; my $usage =3D < +USAGE: $tool [options] (--patchdir | -d | -o) =20 --reroll-count | -v Choose patch files for specific version. This results into the @@ -223,7 +223,7 @@ my $patch_ext =3D ".patch"; my $maintainers =3D "MAINTAINERS"; =20 if (!GetOptions( - 'd|patchdir=3Ds' =3D> \$patch_dir, + 'd|o|patchdir=3Ds' =3D> \$patch_dir, 'v|reroll-count=3Di' =3D> \$rerollcount, 'p|patchcc=3Ds' =3D> \$plocation, 'c|covercc=3Ds' =3D> \$clocation, --=20 2.30.2