[PATCH 02/10] setterm: put an option and its description in a single message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And improve a bit of markup and a wording in the man page.

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxx>
---
 term-utils/setterm.1.adoc | 4 ++--
 term-utils/setterm.c      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/term-utils/setterm.1.adoc b/term-utils/setterm.1.adoc
index 38dc81ab5..3fdee3283 100644
--- a/term-utils/setterm.1.adoc
+++ b/term-utils/setterm.1.adoc
@@ -115,14 +115,14 @@ Sets the VESA powerdown interval in minutes. Without an argument, it defaults to
 *--powersave* _mode_::
 Valid values for _mode_ are:
 
-*vsync|on*;;
+*vsync*|*on*;;
 Puts the monitor into VESA vsync suspend mode.
 *hsync*;;
 Puts the monitor into VESA hsync suspend mode.
 *powerdown*;;
 Puts the monitor into VESA powerdown mode.
 *off*;;
-Turns monitor VESA powersaving features.
+Turns the monitor's powersaving features off.
 
 *--regtabs*[**=**1-160]::
 Clears all tab stops, then sets a regular tab stop pattern, with one tab every specified number of positions. Without an argument, it defaults to *8*. Virtual consoles only.
diff --git a/term-utils/setterm.c b/term-utils/setterm.c
index 53bc6785d..801095c87 100644
--- a/term-utils/setterm.c
+++ b/term-utils/setterm.c
@@ -430,8 +430,8 @@ static void __attribute__((__noreturn__)) usage(void)
 	fputs(_(" --file <filename>             name of the dump file\n"), out);
 	fputs(USAGE_SEPARATOR, out);
 
-	fputs(_(" --powersave on|vsync|hsync|powerdown|off\n"), out);
-	fputs(_("                               set vesa powersaving features\n"), out);
+	fputs(_(" --powersave on|vsync|hsync|powerdown|off\n"
+	        "                               set vesa powersaving features\n"), out);
 	fputs(_(" --powerdown[=<0-60>]          set vesa powerdown interval in minutes\n"), out);
 	fputs(USAGE_SEPARATOR, out);
 
-- 
2.48.1





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux