]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 27 Feb 2026 20:05:57 +0000 (20:05 +0000)
See parent commit for explanation.

(cherry picked from commit 84f69675589a28ca5ee94c5dc4c1d4b2fe3e2c25)
(cherry picked from commit db3e71d9dbd3b9932aef1b3d24fcfc7cbe0bbf0e)
(cherry picked from commit f66ee1b6b71a2d5963ae6571060cff0d8d780e4a)

src/import/importctl.c

index d4a993b06d4f6dfd366293067046f1298f46a61b..f3acfd67777fd9ae173ae8130f49883eed9fc9b9 100644 (file)
@@ -1020,12 +1020,15 @@ static int help(int argc, char *argv[], void *userdata) {
                "                               checksum, signature)\n"
                "     --format=xz|gzip|bzip2   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,