From c347ce44a30a9828a50c8cb8848c48515b487272 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@justemail.net>
Date: Mon, 3 Mar 2014 21:30:50 +0000
Subject: [PATCH] Not mentioning -$/--softwrap in usage text of tiny version.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4636 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog  | 1 +
 src/nano.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a8666f9a..335bd451 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
 	* doc/man/nano{.1,rc.5} - Slightly improve formatting and wording.
 	* doc/{texinfo/nano.texi,man/nanorc.5} - Add some missing options
 	to the texinfo documentation, and improve alphabetization a bit.
+	* src/nano.c (usage) - Don't mention --softwrap in tiny version.
 
 2014-03-01 Chris Allegretta <chrisa@asty.org>
 	* global.c (shortcut_init) - fix an issue with the split
diff --git a/src/nano.c b/src/nano.c
index 2d8b0815..942a2131 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -942,7 +942,9 @@ void usage(void)
 #endif
     print_opt("-x", "--nohelp", N_("Don't show the two help lines"));
     print_opt("-z", "--suspend", N_("Enable suspension"));
+#ifndef NANO_TINY
     print_opt("-$", "--softwrap", N_("Enable soft line wrapping"));
+#endif
 
     /* This is a special case. */
     print_opt("-a, -b, -e,", "", NULL);
-- 
GitLab