From 1a3fa549a99f67d513d7ace122542149e2c19933 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 7 Jun 2015 10:02:31 +0000
Subject: [PATCH] Showing the node with the command-line options in the main
 menu.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5241 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog             |  4 ++++
 doc/texinfo/nano.texi | 25 ++++++++++---------------
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1d4ac6b6..a159298c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-07  Benno Schulenberg  <bensberg@justemail.net>
+	* doc/texinfo/nano.texi: Show the node with the command-line options
+	in the main menu, to make it easy to find.
+
 2015-06-04  Benno Schulenberg  <bensberg@justemail.net>
 	* src/nano.h: Fix compilation with --enable-tiny.
 	* nano.spec.in: Add the post-install and pre-uninstall rules for the
diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi
index afd53be3..21b3d478 100644
--- a/doc/texinfo/nano.texi
+++ b/doc/texinfo/nano.texi
@@ -1,11 +1,9 @@
 \input texinfo  @c -*-texinfo-*-
 @c %**start of header
 @setfilename nano.info
-@settitle nano Command Manual
+@settitle nano
 @c %**end of header
 
-@c This file has the new style title page commands.
-@c Run 'makeinfo' rather than 'texinfo-format-buffer'.
 @smallbook
 @set EDITION 0.3
 @set VERSION 2.4.2
@@ -63,6 +61,8 @@ editor.
 
 @menu
 * Introduction::
+* Invoking::
+* Command-line Options::
 * Editor Basics::
 * Built-in Help::
 * Feature Toggles::
@@ -82,19 +82,14 @@ search-and-replace, undo/redo, syntax coloring, smooth scrolling,
 auto-indentation, go-to-line-and-column-number, feature toggles,
 file locking, backup files, and internationalization support.
 
-@menu
-* Overview::
-* Command Line Options::
-@end menu
-
-@node Overview
-@section Overview
-
-The original goal for @code{nano} was a complete bug-for-bug compatible
-emulation of Pico, but @code{nano}'s current goal is to be as compatible
+The original goal for @code{nano} was to be a complete bug-for-bug
+emulation of Pico.  But currently the goal is to be as compatible
 as possible while offering a superset of Pico's functionality.  See
 @xref{Pico Compatibility}, for more info.
 
+@node Invoking
+@chapter Invoking
+
 The usual way to invoke @code{nano} is:
 
 @quotation
@@ -119,8 +114,8 @@ need to specify a line number.
 Please email any bug reports to @email{nano@@nano-editor.org}.
 Or file them at @url{https://savannah.gnu.org/bugs/?group=nano}.
 
-@node Command Line Options
-@section Command Line Options
+@node Command-line Options
+@chapter Command-line Options
 
 @command{nano} takes the following options from the command line:
 
-- 
GitLab