mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
doc: id: be direct about valid options with -nr
* src/id.c (usage): State what options are valid with -nr, rather than just stating the default format is invalid. Fixes https://bugs.gnu.org/77163
This commit is contained in:
2
src/id.c
2
src/id.c
@@ -198,7 +198,7 @@ main (int argc, char **argv)
|
||||
|
||||
if (default_format && (use_real || use_name))
|
||||
error (EXIT_FAILURE, 0,
|
||||
_("cannot print only names or real IDs in default format"));
|
||||
_("printing only names or real IDs requires -u, -g, or -G"));
|
||||
|
||||
if (default_format && opt_zero)
|
||||
error (EXIT_FAILURE, 0,
|
||||
|
||||
Reference in New Issue
Block a user