Some tweaks to the id docs and copy-pasta typos.
Details - Added docs for the `-r` flag of `id` also reindented to 80 cols. - Fixed a typo on `getty`.
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ use std::io::{self, Write};
|
||||
|
||||
use arg_parser::ArgParser;
|
||||
|
||||
const MAN_PAGE: &'static str = /* @MANSTART{login} */ r#"
|
||||
const MAN_PAGE: &'static str = /* @MANSTART{getty} */ r#"
|
||||
NAME
|
||||
getty - set terminal mode
|
||||
|
||||
|
||||
+9
-6
@@ -26,19 +26,19 @@ SYNOPSIS
|
||||
id [ -h | --help ]
|
||||
|
||||
DESCRIPTION
|
||||
The id utility displays the user and group names and numeric IDs,
|
||||
of the calling process, to the standard output.
|
||||
The id utility displays the user and group names and numeric IDs, of
|
||||
the calling process, to the standard output.
|
||||
|
||||
OPTIONS
|
||||
-G
|
||||
Display the different group IDs (effective and real)
|
||||
as white-space separated numbers, in no particular order.
|
||||
Display the different group IDs (effective and real) as white-space
|
||||
separated numbers, in no particular order.
|
||||
|
||||
-g
|
||||
Display the effective group ID as a number.
|
||||
|
||||
-n Display the name of the user or group ID for the -g and -u
|
||||
options instead of the number.
|
||||
-n Display the name of the user or group ID for the -g and -u options
|
||||
instead of the number.
|
||||
|
||||
-u
|
||||
Display the effective user ID as a number.
|
||||
@@ -46,6 +46,9 @@ OPTIONS
|
||||
-a
|
||||
Ignored for compatibility with other id implementations.
|
||||
|
||||
-r
|
||||
Display the real ID for the -g and -u options instead of the effective ID.
|
||||
|
||||
-h
|
||||
--help
|
||||
Display this help and exit.
|
||||
|
||||
Reference in New Issue
Block a user