From bea50fafba2a52df23bba711d3c1894201707473 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Wed, 21 Jan 2026 15:06:29 +0800 Subject: [PATCH] Fix magiskboot cpio ls -r --- native/src/boot/cpio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/boot/cpio.rs b/native/src/boot/cpio.rs index 19e403684..58381f7d9 100644 --- a/native/src/boot/cpio.rs +++ b/native/src/boot/cpio.rs @@ -137,10 +137,10 @@ struct Add { #[derive(FromArgs)] #[argh(subcommand, name = "ls")] struct List { - #[argh(positional, default = r#"String::from("/")"#)] - path: String, #[argh(switch, short = 'r')] recursive: bool, + #[argh(positional, default = r#"String::from("/")"#)] + path: String, } pub(crate) fn print_cpio_usage() {