Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2111500ybd; Thu, 27 Jun 2019 07:00:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzL7HE6dCPyJ2J03lmVPNRw1lkNAY+Wgkum0Mxr8hh3H0bUadGSsdEUA/XnL5fvkWDQwCR8 X-Received: by 2002:a17:90a:ab0b:: with SMTP id m11mr6454496pjq.73.1561644040512; Thu, 27 Jun 2019 07:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561644040; cv=none; d=google.com; s=arc-20160816; b=iWG57/lTAtYZS3L8ZdT1O8C9MN5g8JwkavK4GQtOIE8pgMdznT+7VzQqD1Bf8VS873 NCzmE2S1HGPFpPq67jDr1fQvi1oWwOPrJQIZRSnzqtf4j+rmJXGh2w+6EfNhps18IZkL VxX4YG8ug9VMdYqnmf3Au+EV/LgDZ6scBKS4RMketbnlzx7WqISbRCRxHTurtuZKtGSe WKUq5ru6NhKEnZUovMwl2veQxjl6hP0bxv/sUzTDDQE6Be6IsdlV4LahRqj478LIPxqt 8ntAxiidwZtpKOf4/fSPcsOciikKzPbyQSuZV4Nqw79p+VPROV9uAijAesI02iGdJRSx wiHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=FUBCUgn+w8d0adOLtH7CBn3fhz+c3BmwxrpzntIhu08=; b=0GPZ7XThehdgJ74lj42KwYMQxUYkHoFw1au/w5D9DQdfTmWzpABgRKlJpTdhraRCQr JWyFD5dzGXsl+UGgAdI/VEOTbLHvN9lZV0wLkOZ+STvYrwi0Fl5MNQmyYGIpcwnhgqFe XneP8LmJp/PhQckXv2D3QkrsQFWeAkc6QNs2/4KSYrXrJ9hh769wD9X7Uc6TyKxEiqFD ayCRGSUuIjCNFnzLi5qt0TA0zk6bwhqDqbYnCEknme5VVYjGuy+TjZIdZyd0xmr7yekA aHh+9AWO8olcsboNC1ECCRkO962ICymVaY4VoGF8hja+XN0Ufn8QSRmQPX3ec2+qobn0 U1Cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si2780577pfn.278.2019.06.27.07.00.23; Thu, 27 Jun 2019 07:00:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726829AbfF0N7u (ORCPT + 99 others); Thu, 27 Jun 2019 09:59:50 -0400 Received: from smtp5-g21.free.fr ([212.27.42.5]:8946 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726443AbfF0N7u (ORCPT ); Thu, 27 Jun 2019 09:59:50 -0400 Received: from heffalump.sk2.org (unknown [88.186.243.14]) by smtp5-g21.free.fr (Postfix) with ESMTPS id 3A85E5FFA1; Thu, 27 Jun 2019 15:59:48 +0200 (CEST) Received: from steve by heffalump.sk2.org with local (Exim 4.89) (envelope-from ) id 1hgUwF-0000yt-9u; Thu, 27 Jun 2019 15:59:47 +0200 From: Stephen Kitt To: corbet@lwn.net, linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Stephen Kitt Subject: [PATCH] docs: format kernel-parameters -- as code Date: Thu, 27 Jun 2019 15:59:38 +0200 Message-Id: <20190627135938.3722-1-steve@sk2.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The current ReStructuredText formatting results in "--", used to indicate the end of the kernel command-line parameters, appearing as an en-dash instead of two hyphens; this patch formats them as code, "``--``", as done elsewhere in the documentation. Signed-off-by: Stephen Kitt --- Documentation/admin-guide/kernel-parameters.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst index 0124980dca2d..b8d479b76648 100644 --- a/Documentation/admin-guide/kernel-parameters.rst +++ b/Documentation/admin-guide/kernel-parameters.rst @@ -9,11 +9,11 @@ and sorted into English Dictionary order (defined as ignoring all punctuation and sorting digits before letters in a case insensitive manner), and with descriptions where known. -The kernel parses parameters from the kernel command line up to "--"; +The kernel parses parameters from the kernel command line up to "``--``"; if it doesn't recognize a parameter and it doesn't contain a '.', the parameter gets passed to init: parameters with '=' go into init's environment, others are passed as command line arguments to init. -Everything after "--" is passed as an argument to init. +Everything after "``--``" is passed as an argument to init. Module parameters can be specified in two ways: via the kernel command line with a module name prefix, or via modprobe, e.g.:: -- 2.11.0