can.c, can.1: remove long flags from synopsis

This commit is contained in:
cælōrum spectātrīx 2026-02-09 23:55:28 +01:00
parent 56b75106f6
commit 6f21782e5c
2 changed files with 1 additions and 6 deletions

5
can.1
View file

@ -7,11 +7,6 @@
.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] [--gid] [--group] [--help] [--quiet] [--uid] user action path\n", "usage: %s [-GghqU] user action path\n",
getprogname()); getprogname());
exit(ec); } exit(ec); }