]> git.tuebingen.mpg.de Git - gsu.git/commitdiff
man: Make "roff" the default output mode.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 30 Nov 2017 16:56:53 +0000 (17:56 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 19 Jul 2018 18:57:19 +0000 (20:57 +0200)
We've asked people for more than a year to set the output mode,
su this should not come as a surprise.

subcommand

index e19b11eaa605187125a232cce87916a3b5af18ea..13e3d83ab082707e3555d435999f1510e1d9d4f1 100644 (file)
@@ -294,7 +294,7 @@ Print the manual.
 
 Usage: man [-m <mode>] [-b <browser>]
 
--m: Set output format (text, roff or html). Default: text.
+-m: Set output format (text, roff or html). Default: roff.
 -b: Use the specified browser. Implies html mode.
 
 If stdout is not associated with a terminal device, the command
@@ -310,9 +310,6 @@ file is displayed as a page in the web browser. If -b is not given,
 the command stored in the $BROWSER environment variable is executed
 with the path to the temporary file as an argument. If $BROWSER is
 unset, elinks(1) is assumed.
-
-It is recommended to specify the output format with -m as the default
-mode might change in future versions of gsu.
 '
 
 _gsu_read_line()
@@ -523,7 +520,7 @@ com_man()
                o_m='html'
                browser="$o_b"
        elif [[ -z "$o_m" ]]; then
-               o_m='text'
+               o_m='roff'
        fi
 
        _gsu_isatty && isatty='true' || isatty='false'