From 782e41ab8891673575ec03366d17d5e5c1da7b0d Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Mon, 22 Aug 2022 14:23:57 +0200 Subject: [PATCH] sysext: add missing COMMAND to the help output and man synopsis --- man/systemd-sysext.xml | 1 + src/sysext/sysext.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/man/systemd-sysext.xml b/man/systemd-sysext.xml index f4dd150a538..aa0d42d83c6 100644 --- a/man/systemd-sysext.xml +++ b/man/systemd-sysext.xml @@ -26,6 +26,7 @@ systemd-sysext OPTIONS + COMMAND systemd-sysext.service diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index b81f1ebe73c..a8593cec4de 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -886,7 +886,7 @@ static int verb_help(int argc, char **argv, void *userdata) { if (r < 0) return log_oom(); - printf("%1$s [OPTIONS...] [DEVICE]\n" + printf("%1$s [OPTIONS...] COMMAND\n" "\n%5$sMerge extension images into /usr/ and /opt/ hierarchies.%6$s\n" "\n%3$sCommands:%4$s\n" " status Show current merge status (default)\n"