diff options
-rw-r--r-- | src/id.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -177,7 +177,8 @@ main (int argc, char **argv) if (just_user + just_group + just_group_list + just_context > 1) error (EXIT_FAILURE, 0, _("cannot print \"only\" of more than one choice")); - bool default_format = (just_user + just_group + just_group_list == 0); + bool default_format = (just_user + just_group + just_group_list + + just_context == 0); if (default_format && (use_real || use_name)) error (EXIT_FAILURE, 0, |