aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWestly Ward <sonicrules1234@gmail.com>2023-02-22 13:00:45 -0700
committerWestly Ward <sonicrules1234@gmail.com>2023-02-22 13:12:59 -0700
commit203e40fcf5a11a4bfb29d758ae065445c6e766d5 (patch)
tree97a684098aaf24858be4e0e18bb39dc866188848
parentde720eaa2413ae20c72ca426fc4a5a55a818ae6f (diff)
downloadbcachefs-tools-203e40fcf5a11a4bfb29d758ae065445c6e766d5.tar.gz
Made the -k option for mount.bcachefs default to ask, without messing up formatting
Signed-off-by: Westly Ward <sonicrules1234@gmail.com>
-rw-r--r--rust-src/src/cmd_mount.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-src/src/cmd_mount.rs b/rust-src/src/cmd_mount.rs
index 5c7f6fbb..4bbe5fe7 100644
--- a/rust-src/src/cmd_mount.rs
+++ b/rust-src/src/cmd_mount.rs
@@ -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>