Merge pull request #8 from goyox86/goyox86/some-tweaks

Some tweaks to the `id` docs and copy-pasta typos.
This commit is contained in:
Jeremy Soller
2017-07-20 11:47:53 -06:00
committed by GitHub
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.