X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=blobdiff_plain;f=subcommand;h=13e3d83ab082707e3555d435999f1510e1d9d4f1;hp=f269cdb6197b94ae6df687ce44115e6cc43825dd;hb=99d118192790970e4ce38f088797337c8316a169;hpb=e6023baff6bf935450059d158fc5697f7aadf5d7 diff --git a/subcommand b/subcommand index f269cdb..13e3d83 100644 --- a/subcommand +++ b/subcommand @@ -256,7 +256,7 @@ com_prefs() printf "# optional" ;; esac - printf "%s: %s" "$option_type" "$description" + printf " %s: %s" "$option_type" "$description" if [[ "$required" != "yes" && "$required" != "true" ]]; then printf " [%s]" "$default_value" fi @@ -294,7 +294,7 @@ Print the manual. Usage: man [-m ] [-b ] --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'