ksud: fix rustfmt errors (#359)

This commit is contained in:
Caner Karaca
2025-05-06 19:48:58 +03:00
committed by GitHub
parent 48e533f660
commit 1d23b4bb67
2 changed files with 5 additions and 9 deletions

View File

@@ -36,9 +36,9 @@ enum Commands {
/// Install KernelSU Next userspace component to system
Install {
#[arg(long, default_value = None)]
magiskboot: Option<PathBuf>,
},
#[arg(long, default_value = None)]
magiskboot: Option<PathBuf>,
},
/// Uninstall KernelSU Next modules and itself(LKM Only)
Uninstall {
@@ -112,7 +112,6 @@ enum Commands {
// #[arg(long, default_value = None)]
// magiskboot: Option<PathBuf>,
// },
/// Show boot information
BootInfo {
#[command(subcommand)]
@@ -381,7 +380,6 @@ pub fn run() -> Result<()> {
// magiskboot,
// kmi,
// } => crate::boot_patch::patch(boot, kernel, module, init, ota, flash, out, magiskboot, kmi), // DISBAND LKM MODE
Commands::BootInfo { command } => match command {
BootInfo::CurrentKmi => {
let kmi = crate::boot_patch::get_current_kmi()?;