Implement auto detection of encrypted root devices (fix #21)

This commit is contained in:
Roey Darwish Dror
2019-06-18 22:53:57 +03:00
parent 8551a815c4
commit 4f7b834ce3
5 changed files with 28 additions and 12 deletions

View File

@@ -66,10 +66,6 @@ pub struct ChrootCommand {
#[structopt(parse(from_os_str))]
pub block_device: PathBuf,
/// Open an encrypted root partition
#[structopt(short = "e", long = "encrypted-root")]
pub encrypted_root: bool,
/// Optional command to run
#[structopt()]
pub command: Vec<String>,