From: Lennart Poettering Date: Tue, 28 Jan 2025 14:24:51 +0000 (+0100) Subject: bootctl: move print block device path calls to command section of its own X-Git-Tag: v258-rc1~1464 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7249651bffab65af941c095623a5ae340ff67a90;p=thirdparty%2Fsystemd.git bootctl: move print block device path calls to command section of its own --- diff --git a/src/bootctl/bootctl.c b/src/bootctl/bootctl.c index 7befb8c6e25..1b77e2769f9 100644 --- a/src/bootctl/bootctl.c +++ b/src/bootctl/bootctl.c @@ -250,6 +250,17 @@ static int help(int argc, char *argv[], void *userdata) { "\n%3$sKernel Image Commands:%4$s\n" " kernel-identify Identify kernel image type\n" " kernel-inspect Prints details about the kernel image\n" + "\n%3$sBlock Device Discovery Commands:%4$s\n" + " -p --print-esp-path Print path to the EFI System Partition mount point\n" + " -x --print-boot-path Print path to the $BOOT partition mount point\n" + " --print-loader-path\n" + " Print path to currently booted boot loader binary\n" + " --print-stub-path Print path to currently booted unified kernel binary\n" + " -R --print-root-device\n" + " Print path to the block device node backing the\n" + " root file system (returns e.g. /dev/nvme0n1p5)\n" + " -RR Print path to the whole disk block device node\n" + " backing the root FS (returns e.g. /dev/nvme0n1)\n" "\n%3$sOptions:%4$s\n" " -h --help Show this help\n" " --version Print version\n" @@ -261,16 +272,6 @@ static int help(int argc, char *argv[], void *userdata) { " Specify disk image dissection policy\n" " --install-source=auto|image|host\n" " Where to pick files when using --root=/--image=\n" - " -p --print-esp-path Print path to the EFI System Partition mount point\n" - " -x --print-boot-path Print path to the $BOOT partition mount point\n" - " --print-loader-path\n" - " Print path to currently booted boot loader binary\n" - " --print-stub-path Print path to currently booted unified kernel binary\n" - " -R --print-root-device\n" - " Print path to the block device node backing the\n" - " root file system (returns e.g. /dev/nvme0n1p5)\n" - " -RR Print path to the whole disk block device node\n" - " backing the root FS (returns e.g. /dev/nvme0n1)\n" " --no-variables Don't touch EFI variables\n" " --random-seed=yes|no\n" " Whether to create random-seed file during install\n"