diff --git a/userspace/ksud_magic/src/cli.rs b/userspace/ksud_magic/src/cli.rs index 76ccbfab..453db04d 100644 --- a/userspace/ksud_magic/src/cli.rs +++ b/userspace/ksud_magic/src/cli.rs @@ -40,8 +40,8 @@ enum Commands { /// Install KernelSU Next userspace component to system Install { - #[arg(long, default_value = None)] - magiskboot: Option, + #[arg(long, default_value = None)] + magiskboot: Option, }, /// Uninstall KernelSU Next modules and itself(LKM Only) @@ -116,7 +116,6 @@ enum Commands { // #[arg(long, default_value = None)] // magiskboot: Option, // }, - /// Show boot information BootInfo { #[command(subcommand)] @@ -366,7 +365,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()?; diff --git a/userspace/ksud_overlayfs/src/cli.rs b/userspace/ksud_overlayfs/src/cli.rs index 0ee1f066..94dc9bad 100644 --- a/userspace/ksud_overlayfs/src/cli.rs +++ b/userspace/ksud_overlayfs/src/cli.rs @@ -36,9 +36,9 @@ enum Commands { /// Install KernelSU Next userspace component to system Install { - #[arg(long, default_value = None)] - magiskboot: Option, - }, + #[arg(long, default_value = None)] + magiskboot: Option, + }, /// Uninstall KernelSU Next modules and itself(LKM Only) Uninstall { @@ -112,7 +112,6 @@ enum Commands { // #[arg(long, default_value = None)] // magiskboot: Option, // }, - /// 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()?;