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)] #[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>,
} }