[screen] Options missing in help

Petr Hracek phracek at fedoraproject.org
Fri Apr 5 10:51:13 UTC 2013


commit c4c14d46abf19d6ba1fe7907472a39df799a6076
Author: Petr Hracek <phracek at redhat.com>
Date:   Fri Apr 5 12:50:28 2013 +0200

    Options missing in help

 screen-help-update.patch |   40 ++++++++++++++++++++++++++++++++++++++++
 screen.spec              |    7 ++++++-
 2 files changed, 46 insertions(+), 1 deletions(-)
---
diff --git a/screen-help-update.patch b/screen-help-update.patch
new file mode 100644
index 0000000..9798a79
--- /dev/null
+++ b/screen-help-update.patch
@@ -0,0 +1,40 @@
+diff --git a/src/help.c b/src/help.c
+index 095f96b..a2b8614 100644
+--- a/src/help.c
++++ b/src/help.c
+@@ -86,12 +86,14 @@ char *myname, *message, *arg;
+ #if defined(LOGOUTOK) && defined(UTMPOK)
+   printf("-l            Login mode on (update %s), -ln = off.\n", UTMPFILE);
+ #endif
+-  printf("-ls [match]   or -list. Do nothing, just list our SockDir [on possible matches].\n");
++  printf("-ls [match]   or\n");
++  printf("-list         Do nothing, just list our SockDir [on possible matches].\n");
+   printf("-L            Turn on output logging.\n");
+   printf("-m            ignore $STY variable, do create a new screen session.\n");
+   printf("-O            Choose optimal output rather than exact vt100 emulation.\n");
+   printf("-p window     Preselect the named window if it exists.\n");
+   printf("-q            Quiet startup. Exits with non-zero return code if unsuccessful.\n");
++  printf("-Q            Commands will send the response to the stdout of the querying process.\n");
+   printf("-r [session]  Reattach to a detached screen process.\n");
+   printf("-R            Reattach if possible, otherwise start a new session.\n");
+   printf("-s shell      Shell to execute rather than $SHELL.\n");
+diff --git a/src/help.c.ipv6 b/src/help.c.ipv6
+index 8726b1b..8446f34 100644
+--- a/src/help.c.ipv6
++++ b/src/help.c.ipv6
+@@ -82,12 +82,14 @@ char *myname, *message, *arg;
+ #if defined(LOGOUTOK) && defined(UTMPOK)
+   printf("-l            Login mode on (update %s), -ln = off.\n", UTMPFILE);
+ #endif
+-  printf("-ls [match]   or -list. Do nothing, just list our SockDir [on possible matches].\n");
++  printf("-ls [match]   or\n");
++  printf("-list         Do nothing, just list our SockDir [on possible matches].\n");
+   printf("-L            Turn on output logging.\n");
+   printf("-m            ignore $STY variable, do create a new screen session.\n");
+   printf("-O            Choose optimal output rather than exact vt100 emulation.\n");
+   printf("-p window     Preselect the named window if it exists.\n");
+   printf("-q            Quiet startup. Exits with non-zero return code if unsuccessful.\n");
++  printf("-Q            Commands will send the response to the stdout of the querying process.\n");
+   printf("-r [session]  Reattach to a detached screen process.\n");
+   printf("-R            Reattach if possible, otherwise start a new session.\n");
+   printf("-s shell      Shell to execute rather than $SHELL.\n");
diff --git a/screen.spec b/screen.spec
index ed34ebc..37bb0dd 100644
--- a/screen.spec
+++ b/screen.spec
@@ -4,7 +4,7 @@
 Summary: A screen manager that supports multiple logins on one terminal
 Name: screen
 Version: 4.1.0
-Release: 0.14.20120314git3c2946%{?dist}
+Release: 0.15.20120314git3c2946%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.gnu.org/software/screen
@@ -29,6 +29,7 @@ Patch6: screen-4.1.0-suppress_remap.patch
 Patch7: screen-4.1.0-reattach.patch
 Patch8: screen-4.1.0-crypt.patch
 Patch9: screen-4.1.0-long-term.patch
+Patch10: screen-help-update.patch
 
 %description
 The screen utility allows you to have multiple logins on just one
@@ -51,6 +52,7 @@ support multiple logins on one terminal.
 %patch7 -p2 -b .reattach
 %patch8 -p2 -b .crypto
 %patch9 -p2 -b .long-term
+%patch10 -p2 -b .help-update
 
 
 %build
@@ -147,6 +149,9 @@ fi
 %endif
 
 %changelog
+* Fri Apr 05 2013 Petr Hracek <phracek at redhat.com> - 4.1.0-0.15.20120314git3c2946
+- correct missing help options
+
 * Tue Feb 05 2013 Petr Hracek <phracek at redhat.com> - 4.1.0-0.14.20120314git3c2946
 - Fix (#907472) xterm too long - sorry
 


More information about the scm-commits mailing list