Merge pull request #18 from blitz/lanzatool-cli-help
Lanzatool: improve --help output
This commit is contained in:
commit
8e04bbf63c
|
@ -19,25 +19,26 @@ enum Commands {
|
||||||
|
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
struct InstallCommand {
|
struct InstallCommand {
|
||||||
// Secure Boot Public Key
|
/// sbsign Public Key
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
public_key: PathBuf,
|
public_key: PathBuf,
|
||||||
|
|
||||||
// Secure Boot Private Key
|
/// sbsign Private Key
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
private_key: PathBuf,
|
private_key: PathBuf,
|
||||||
|
|
||||||
// Secure Boot PKI Bundle for auto enrolling key
|
/// sbctl PKI bundle for auto enrolling key
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
pki_bundle: Option<PathBuf>,
|
pki_bundle: Option<PathBuf>,
|
||||||
|
|
||||||
// Enable auto enrolling your keys in UEFI
|
/// Auto enroll your keys. This might brick your device
|
||||||
// Be aware that this might irrevocably brick your device
|
|
||||||
#[arg(long, default_value = "false")]
|
#[arg(long, default_value = "false")]
|
||||||
auto_enroll: bool,
|
auto_enroll: bool,
|
||||||
|
|
||||||
|
/// EFI system partition mountpoint (e.g. efiSysMountPoint)
|
||||||
esp: PathBuf,
|
esp: PathBuf,
|
||||||
|
|
||||||
|
/// List of generations (e.g. /nix/var/nix/profiles/system-*-link)
|
||||||
generations: Vec<PathBuf>,
|
generations: Vec<PathBuf>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue