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:
Jose Narvaez
2017-07-20 17:34:06 +01:00
parent 6d5e183c81
commit 4a4c45a7a7
2 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -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
View File
@@ -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.