From 6f21782e5ce8e0b4219e5e73e3e3487535d9cf72 Mon Sep 17 00:00:00 2001 From: afiw Date: Mon, 9 Feb 2026 23:55:28 +0100 Subject: [PATCH] can.c, can.1: remove long flags from synopsis --- can.1 | 5 ----- can.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/can.1 b/can.1 index 579c935..9a90210 100644 --- a/can.1 +++ b/can.1 @@ -7,11 +7,6 @@ .Sh SYNOPSIS .Nm can .Op Fl GghqU -.Op Fl \-gid -.Op Fl \-group -.Op Fl \-help -.Op Fl \-quiet -.Op Fl \-uid .Ar user .Ar action .Ar path diff --git a/can.c b/can.c index a3099cc..c6484df 100644 --- a/can.c +++ b/can.c @@ -38,7 +38,7 @@ enum lookup_mode: char { [[noreturn]] static void exit_with_usage(int ec) { 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()); exit(ec); }