From patchwork Mon Apr 12 07:32:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 28456 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0409327BC72; Mon, 12 Apr 2021 08:50:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F315227BC73 for ; Mon, 12 Apr 2021 08:50:08 +0100 (BST) Received: from localhost ([::1]:52712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVrKi-0002dX-5l for patchwork@mira.cbaines.net; Mon, 12 Apr 2021 03:50:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVrKc-0002d0-8z for guix-patches@gnu.org; Mon, 12 Apr 2021 03:50:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVrKc-0004jC-2G for guix-patches@gnu.org; Mon, 12 Apr 2021 03:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVrKb-0000Sk-VC for guix-patches@gnu.org; Mon, 12 Apr 2021 03:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47719] [PATCH] guix: scripts: system: Realign action docstrings Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Apr 2021 07:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47719 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47719@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16182137641727 (code B ref -1); Mon, 12 Apr 2021 07:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2021 07:49:24 +0000 Received: from localhost ([127.0.0.1]:56290 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVrJz-0000Rm-0r for submit@debbugs.gnu.org; Mon, 12 Apr 2021 03:49:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:54304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVrJx-0000Re-0l for submit@debbugs.gnu.org; Mon, 12 Apr 2021 03:49:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVrJw-0002ah-PB for guix-patches@gnu.org; Mon, 12 Apr 2021 03:49:20 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:43991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVrJu-0004Fi-N1 for guix-patches@gnu.org; Mon, 12 Apr 2021 03:49:20 -0400 Received: by mail-lf1-x134.google.com with SMTP id r8so19751805lfp.10 for ; Mon, 12 Apr 2021 00:49:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=qc6ZhRrYH1BRaWSZOJZ4GC/z0cCGF6iOQb6NG2BRhMs=; b=g68gJhQfdpA3Jcmvhc+xD43SEGWAfEImlVLxXenHQMXDkTqqoBOzjkbb6CCfyLqXd7 rBHWGe2h7S1R3v8l+lt9XjRIX/6j+6Ixy4w/JqTzPCcXvtWdPAcSUnulATf7E67m18pH nuYoxcWQYf/OGxQiVxfsvHLMUW8jbo2jWhw3PXLs1wqmW1rV9kPnIagWh1iS9XoBfvUZ Om6OYzXWCWW2rKbSfXOU57LRknxpvrmHDLZSfDxL/4wNKDOxCPyht26fD5BrcZnZrDH7 pTxGbsAChGgkZqDPq0JotPucm9WnLYlOGDixIdAsYszq8cvo4SzwGtK9vYTohekJbM/Y /QKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=qc6ZhRrYH1BRaWSZOJZ4GC/z0cCGF6iOQb6NG2BRhMs=; b=dfWn1+csZumMepcOYux8rpOtmHtFKfEScbVgugJPJ7EdIznOfSUyJ5kjISC3sduZy0 JRBULTENtTNe/hJOWCWm0723xtHpIHcB4IQBhJgG7KOvrelduewpRwa3y+MEhYUSPCx+ pfQVyAxlDHmDZCMpAqcmunqlvi78wRnlvb4l3GLxFMLZJQCKKnN9n7cQ1ptI4nB25Xbg Le4Yn4Sfdy4ttpdeonR7W3wwrDPC+0LdvIdSOxKldegcs1Ou2tB6P8nCtMNU/bC4Jg/8 eDg4N6fcSF0r0AWhldW2pk+HHpKmVUSbt0n+ppraGJhyAI9N4lqu+N8LI+DnUgqSppc+ Gfdg== X-Gm-Message-State: AOAM532/pfNaiGN87iSWx6a5P/su8y8QpT0VA+AoH36CdXbN3FyjX+yj A9OaVrznLFaWXmuaJOUWdla7wqTqE5vipQ== X-Google-Smtp-Source: ABdhPJxSVK9f3qEF+6QDKtZM9/XOXX71BKnJaJfxCSbEEn/92tNprmvoWdrYbIa1blEm0TBaARBp8A== X-Received: by 2002:ac2:424e:: with SMTP id m14mr9473211lfl.164.1618213755801; Mon, 12 Apr 2021 00:49:15 -0700 (PDT) Received: from ixy (109-252-117-24.nat.spd-mgts.ru. [109.252.117.24]) by smtp.gmail.com with ESMTPSA id w13sm2668212ljw.2.2021.04.12.00.49.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 00:49:15 -0700 (PDT) From: Andrew Tropin Date: Mon, 12 Apr 2021 10:32:24 +0300 Message-ID: <87wnt86iyv.fsf@trop.in> MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::134; envelope-from=andrew@trop.in; helo=mail-lf1-x134.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Long actions like switch-generations and delete-generations make actions help table from `guix system --help` to be missaligned. This commit alignes all the action docstrings to the longest action name (delete-generations). --- guix/scripts/system.scm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 0a051ee4e3..45e849b00e 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -939,35 +939,35 @@ Some ACTIONS support additional ARGS.\n")) (display (G_ "The valid values for ACTION are:\n")) (newline) (display (G_ "\ - search search for existing service types\n")) + search search for existing service types\n")) (display (G_ "\ - reconfigure switch to a new operating system configuration\n")) + reconfigure switch to a new operating system configuration\n")) (display (G_ "\ - roll-back switch to the previous operating system configuration\n")) + roll-back switch to the previous operating system configuration\n")) (display (G_ "\ - describe describe the current system\n")) + describe describe the current system\n")) (display (G_ "\ - list-generations list the system generations\n")) + list-generations list the system generations\n")) (display (G_ "\ - switch-generation switch to an existing operating system configuration\n")) + switch-generation switch to an existing operating system configuration\n")) (display (G_ "\ delete-generations delete old system generations\n")) (display (G_ "\ - build build the operating system without installing anything\n")) + build build the operating system without installing anything\n")) (display (G_ "\ - container build a container that shares the host's store\n")) + container build a container that shares the host's store\n")) (display (G_ "\ - vm build a virtual machine image that shares the host's store\n")) + vm build a virtual machine image that shares the host's store\n")) (display (G_ "\ - image build a Guix System image\n")) + image build a Guix System image\n")) (display (G_ "\ - docker-image build a Docker image\n")) + docker-image build a Docker image\n")) (display (G_ "\ - init initialize a root file system to run GNU\n")) + init initialize a root file system to run GNU\n")) (display (G_ "\ - extension-graph emit the service extension graph in Dot format\n")) + extension-graph emit the service extension graph in Dot format\n")) (display (G_ "\ - shepherd-graph emit the graph of shepherd services in Dot format\n")) + shepherd-graph emit the graph of shepherd services in Dot format\n")) (show-build-options-help) (display (G_ "