document the --poslog (-P) option in nano.1 man page

This commit is contained in:
Kamil Dudka 2013-08-09 13:37:24 +02:00
parent 28264db268
commit 48571da717
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 64452244419d9b77ef62d4971bad5cdaa4dd3dfc Mon Sep 17 00:00:00 2001
From: Kamil Dudka <kdudka@redhat.com>
Date: Tue, 28 May 2013 15:24:19 +0200
Subject: [PATCH 3/3] Document the --poslog (-P) option in nano.1 man page.
---
doc/man/nano.1 | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/man/nano.1 b/doc/man/nano.1
index 4d4d67a..c4e4782 100644
--- a/doc/man/nano.1
+++ b/doc/man/nano.1
@@ -102,6 +102,9 @@ Disable automatic conversion of files from DOS/Mac format.
.B \-O (\-\-morespace)
Use the blank line below the titlebar as extra editing space.
.TP
+.B \-P (\-\-poslog)
+Log & read location of cursor position.
+.TP
.B \-Q \fIstr\fP (\-\-quotestr=\fIstr\fP)
Set the quoting string for justifying. The default is
"\fI^([\ \\t]*[#:>\\|}])+\fP" if extended regular expression support is
--
1.7.1

View File

@ -1,7 +1,7 @@
Summary: A small text editor
Name: nano
Version: 2.3.2
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv3+
Group: Applications/Editors
URL: http://www.nano-editor.org
@ -15,6 +15,9 @@ Patch1: 0001-check-stat-s-result-and-avoid-calling-stat-on-a-NULL.patch
# http://lists.gnu.org/archive/html/nano-devel/2010-08/msg00005.html
Patch2: 0002-use-futimens-if-available-instead-of-utime.patch
# http://thread.gmane.org/gmane.editors.nano.devel/3081
Patch3: 0003-Document-the-poslog-P-option-in-nano.1-man-page.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: file-devel
@ -34,6 +37,7 @@ GNU nano is a small and friendly text editor.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
for f in doc/man/fr/{nano.1,nanorc.5,rnano.1} ; do
iconv -f iso-8859-1 -t utf-8 -o $f.tmp $f && mv $f.tmp $f
@ -89,6 +93,9 @@ exit 0
%{_datadir}/nano
%changelog
* Fri Aug 09 2013 Kamil Dudka <kdudka@redhat.com> - 2.3.2-4
- document the --poslog (-P) option in nano.1 man page
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild