pub const KERNEL_HELP_RAW_OK: &str = "Kernel identifier — one of: \
(1) a source directory path (`./linux`, `~/linux`, or an absolute path); \
(2) a raw image file (`bzImage` / `Image`); \
(3) an exact version (`6.14.2`, `6.15-rc3`), a major.minor prefix \
(`6.14`, latest patch), or a bare major (`6`); \
(4) a local kernel package (`*.rpm` / `*.deb` / `*.pkg.tar.zst`, one \
file per `--kernel`); \
(5) a prebuilt distro kernel — `fedora` / `fedora-44` / `f44`, \
`ubuntu` / `ubuntu-24.04` (resolves to the latest LTS HWE kernel), \
`amazonlinux` / `amazonlinux-2023` / `al2023`, \
`steamos` / `steamos-3.8`, or `gke` / `gke-129`; or \
(6) a cache key (see `kernel list`). Source directories auto-build \
(can be slow on a fresh tree); versions auto-download from kernel.org \
on cache miss; distro kernels download official kernel + debuginfo/source \
artifacts (cached like a built kernel). When \
absent, resolves via cache then filesystem, falling back to downloading \
the latest stable kernel. Version ranges (`START..END`) and git sources \
(`git+URL#tag=NAME`) are not supported here — pass a single kernel.";Expand description
Help text for --kernel in contexts that accept raw image files:
cargo ktstr shell. Matches
KernelResolvePolicy { accept_raw_image: true, .. }. See
KERNEL_HELP_NO_RAW for the converse and the rationale for
the asymmetry.