From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54727) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNUAN-0001AP-K3 for guix-patches@gnu.org; Wed, 23 Oct 2019 23:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNUAM-0003iz-G1 for guix-patches@gnu.org; Wed, 23 Oct 2019 23:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54642) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNUAM-0003is-Ct for guix-patches@gnu.org; Wed, 23 Oct 2019 23:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iNUAM-0001UP-9V for guix-patches@gnu.org; Wed, 23 Oct 2019 23:52:02 -0400 Subject: [bug#37898] [PATCH] small improvement to documentation Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54040) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNU9O-0000JW-KA for guix-patches@gnu.org; Wed, 23 Oct 2019 23:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNU9M-0002vp-Tk for guix-patches@gnu.org; Wed, 23 Oct 2019 23:51:02 -0400 Received: from mail-il1-x12b.google.com ([2607:f8b0:4864:20::12b]:43669) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNU9K-0002tZ-Vm for guix-patches@gnu.org; Wed, 23 Oct 2019 23:50:59 -0400 Received: by mail-il1-x12b.google.com with SMTP id t5so21015801ilh.10 for ; Wed, 23 Oct 2019 20:50:57 -0700 (PDT) Received: from x1 (71-82-69-114.dhcp.bycy.mi.charter.com. [71.82.69.114]) by smtp.gmail.com with ESMTPSA id k17sm4175059ioh.49.2019.10.23.20.50.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 20:50:55 -0700 (PDT) From: Kyle Andrews Date: Wed, 23 Oct 2019 23:50:54 -0400 Message-ID: <871rv2er8h.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37898@debbugs.gnu.org Hi Guix, I am working my way through installing Guix on a system using the "manual" method and wanted to help improve the documentation. I find it difficult to read bash commands which make use of cryptic short argument flags, so I have taken the liberty of replacing one such instance of that in the manual with a human readable equivalent. Also, following, the principle of parallel construction I included an example of how to bring a network device up using ip in addition to ifconfig. Please see the patch below: --8<---------------cut here---------------start------------->8--- >From ff3c71cad60c50812bdf6d561a24ed59fb2e26bc Mon Sep 17 00:00:00 2001 From: Kyle Andrews Date: Wed, 23 Oct 2019 23:24:11 -0400 Subject: [PATCH] * doc/guix: Use human readable arguments for ip command. --- doc/guix.texi | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index 6703c2756c..ff12a1bb51 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -66,6 +66,7 @@ Copyright @copyright{} 2019 Josh Holland@* Copyright @copyright{} 2019 Diego Nicola Barbato@* Copyright @copyright{} 2019 Ivan Petkov@* Copyright @copyright{} 2019 Jakob L. Kreuze@* +Copyright @copyright{} 2019 Kyle Andrews@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -2110,7 +2111,7 @@ ifconfig -a @dots{} or, using the GNU/Linux-specific @command{ip} command: @example -ip a +ip address @end example @c https://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n20 @@ -2128,6 +2129,13 @@ To configure a wired network run the following command, substituting ifconfig @var{interface} up @end example +@noindent +@dots{} or, using the GNU/Linux-specific @command{ip} command: + +@example +ip link set @var{interface} up +@end example + @item Wireless connection @cindex wireless @cindex WiFi -- 2.23.0 --8<---------------cut here---------------end--------------->8---