From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 27CFC1581D3 for ; Thu, 2 May 2024 16:52:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE04AE2A26; Thu, 2 May 2024 16:52:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AE5F9E2A26 for ; Thu, 2 May 2024 16:52:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E7C3343053 for ; Thu, 2 May 2024 16:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD3E219D8 for ; Thu, 2 May 2024 16:52:32 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1714666880.9d4c7c5b1bccd719decad755537fafc457fd4cfc.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:emacs-updater commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog emacs-updater X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 9d4c7c5b1bccd719decad755537fafc457fd4cfc X-VCS-Branch: emacs-updater Date: Thu, 2 May 2024 16:52:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d183a467-e0f3-49aa-8ad2-68014ed417ce X-Archives-Hash: 7e7580693966995ff7aec837805b2d02 commit: 9d4c7c5b1bccd719decad755537fafc457fd4cfc Author: Ulrich Müller gentoo org> AuthorDate: Thu May 2 16:21:20 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu May 2 16:21:20 2024 +0000 URL: https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?id=9d4c7c5b Drop the -n, --nocolor, --nocolour option * emacs-updater (OPTIONS): Drop the -n, --nocolor, --nocolour option, which is deprecated since version 1.11 released in 2013. Signed-off-by: Ulrich Müller gentoo.org> ChangeLog | 3 +++ emacs-updater | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6323e0c..702a3de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-05-02 Ulrich Müller + * emacs-updater (OPTIONS): Drop the -n, --nocolor, --nocolour + option, which is deprecated since version 1.11 released in 2013. + * emacs-updater (COLOUR): Respect the NO_COLOR environment variable. diff --git a/emacs-updater b/emacs-updater index 34fd89b..4c4dc8a 100755 --- a/emacs-updater +++ b/emacs-updater @@ -107,9 +107,9 @@ pm_auto() { } # Read in all command-line options and force English output -OPTIONS=$(LC_ALL=C "${GETOPT}" -o a:behmnopP: \ - --long action:,batch,color::,colour::,nocolor,nocolour,exact,help,major \ - --long orphans,pretend,package-manager:,package-manager-command:,version \ +OPTIONS=$(LC_ALL=C "${GETOPT}" -o a:behmopP: \ + --long action:,batch,color::,colour::,exact,help,major,orphans \ + --long pretend,package-manager:,package-manager-command:,version \ -n 'emacs-updater' -- "$@") \ || usage $? @@ -137,7 +137,6 @@ do esac shift 2 ;; - -n|--nocolor|--nocolour) COLOUR="no"; shift ;; # legacy option -a|--action) ACTIONS= for action in ${2/,/ }; do