Compare commits

..

No commits in common. "mistress" and "1.0" have entirely different histories.

2 changed files with 6 additions and 1 deletions

5
can.1
View file

@ -7,6 +7,11 @@
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm can .Nm can
.Op Fl GghqU .Op Fl GghqU
.Op Fl \-gid
.Op Fl \-group
.Op Fl \-help
.Op Fl \-quiet
.Op Fl \-uid
.Ar user .Ar user
.Ar action .Ar action
.Ar path .Ar path

2
can.c
View file

@ -38,7 +38,7 @@ enum lookup_mode: char {
[[noreturn]] static void exit_with_usage(int ec) { [[noreturn]] static void exit_with_usage(int ec) {
fprintf(ec == EXIT_SUCCESS ? stdout : stderr, fprintf(ec == EXIT_SUCCESS ? stdout : stderr,
"usage: %s [-GghqU] user action path\n", "usage: %s [-GghqU] [--gid] [--group] [--help] [--quiet] [--uid] user action path\n",
getprogname()); getprogname());
exit(ec); } exit(ec); }