]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
importctl: fix confusion in --help
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 6 Dec 2025 12:36:43 +0000 (13:36 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 11 Feb 2026 10:46:38 +0000 (11:46 +0100)
See parent commit for explanation.

src/import/importctl.c

index d131943413dffe9a1b8c584e5cf79b346a4764b0..eddddb86d1f73ecc5148108e4db49208928457e0 100644 (file)
@@ -1035,12 +1035,15 @@ static int help(int argc, char *argv[], void *userdata) {
                "     --format=xz|gzip|bzip2|zstd\n"
                "                              Desired output format for export\n"
                "     --force                  Install image even if already exists\n"
-               "  -m --class=machine          Install as machine image\n"
-               "  -P --class=portable         Install as portable service image\n"
-               "  -S --class=sysext           Install as system extension image\n"
-               "  -C --class=confext          Install as configuration extension image\n"
+               "     --class=TYPE             Install as the specified TYPE\n"
+               "  -m                          Install as --class=machine, machine image\n"
+               "  -P                          Install as --class=portable,\n"
+               "                              portable service image\n"
+               "  -S                          Install as --class=sysext, system extension image\n"
+               "  -C                          Install as --class=confext,\n"
+               "                              configuration extension image\n"
                "     --keep-download=BOOL     Control whether to keep pristine copy of download\n"
-               "  -N                          Shortcut for --keep-download=no\n"
+               "  -N                          Same as --keep-download=no\n"
                "\nSee the %2$s for details.\n",
                program_invocation_short_name,
                link,