Merge pull request #18 from blitz/lanzatool-cli-help

Lanzatool: improve --help output
This commit is contained in:
nikstur 2022-11-27 00:21:28 +01:00 committed by GitHub
commit 8e04bbf63c
1 changed files with 6 additions and 5 deletions

View File

@ -19,25 +19,26 @@ enum Commands {
#[derive(Parser)]
struct InstallCommand {
// Secure Boot Public Key
/// sbsign Public Key
#[arg(long)]
public_key: PathBuf,
// Secure Boot Private Key
/// sbsign Private Key
#[arg(long)]
private_key: PathBuf,
// Secure Boot PKI Bundle for auto enrolling key
/// sbctl PKI bundle for auto enrolling key
#[arg(long)]
pki_bundle: Option<PathBuf>,
// Enable auto enrolling your keys in UEFI
// Be aware that this might irrevocably brick your device
/// Auto enroll your keys. This might brick your device
#[arg(long, default_value = "false")]
auto_enroll: bool,
/// EFI system partition mountpoint (e.g. efiSysMountPoint)
esp: PathBuf,
/// List of generations (e.g. /nix/var/nix/profiles/system-*-link)
generations: Vec<PathBuf>,
}