rust-osdev / bootimage

Tool to create bootable disk images from a Rust OS kernel.
Apache License 2.0
765 stars 67 forks source link

Bootimage command claims it can report version, but doesn't. #66

Closed mtnygard closed 4 years ago

mtnygard commented 4 years ago
$  bootimage -h
Creates a bootable disk image from a Rust kernel

USAGE:
    cargo bootimage [BUILD_OPTS]                Create a bootable disk image
    bootimage runner EXECUTABLE [RUN_OPTS]      Convert and run an executable

For more information about a subcommand run `[subcommand] --help`.

GENERAL OPTIONS:
    -h, --help     Prints help information and exit
    --version      Prints version information and exit
$  bootimage --version
Error: Unsupported subcommand `"--version"`. See `bootimage --help` for an overview of supported subcommands.
phil-opp commented 4 years ago

Thanks for reporting! We handle --version arguments for cargo bootimage and bootimage runner, but it seems like we forgot about invocation without a subcommand. I'll push a fix in a moment.