ksud: fmt & fix build
This commit is contained in:
@@ -661,10 +661,7 @@ pub fn run() -> Result<()> {
|
||||
}
|
||||
}
|
||||
Commands::Umount { command } => match command {
|
||||
Umount::Add {
|
||||
path,
|
||||
flags,
|
||||
} => crate::umount_manager::add_umount_path(&path, flags),
|
||||
Umount::Add { path, flags } => crate::umount_manager::add_umount_path(&path, flags),
|
||||
Umount::Remove { path } => crate::umount_manager::remove_umount_path(&path),
|
||||
Umount::List => crate::umount_manager::list_umount_paths(),
|
||||
Umount::ClearCustom => crate::umount_manager::clear_custom_paths(),
|
||||
|
||||
@@ -268,15 +268,12 @@ pub fn list_umount_paths() -> Result<()> {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
println!(
|
||||
"{:<30} {:<12} {:<8} {:<10}",
|
||||
"Path", "CheckMnt", "Flags", "Default"
|
||||
);
|
||||
println!("{:<30} {:<8} {:<10}", "Path", "Flags", "Default");
|
||||
println!("{}", "=".repeat(60));
|
||||
|
||||
for entry in entries {
|
||||
println!(
|
||||
"{:<30} {:<12} {:<8} {:<10}",
|
||||
"{:<30} {:<8} {:<10}",
|
||||
entry.path,
|
||||
entry.flags,
|
||||
if entry.is_default { "Yes" } else { "No" }
|
||||
|
||||
Reference in New Issue
Block a user