Made the -k option for mount.bcachefs default to ask, without messing up formatting

Signed-off-by: Westly Ward <sonicrules1234@gmail.com>
This commit is contained in:
Westly Ward 2023-02-22 13:00:45 -07:00
parent de720eaa24
commit 203e40fcf5

View File

@ -143,7 +143,7 @@ struct Cli {
/// "fail" - don't ask for password, fail if filesystem is encrypted;
/// "wait" - wait for password to become available before mounting;
/// "ask" - prompt the user for password;
#[arg(short, long, default_value = "", verbatim_doc_comment)]
#[arg(short, long, default_value = "ask", verbatim_doc_comment)]
key_location: KeyLoc,
/// Device, or UUID=<UUID>