mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
tools: read-tags: call output xous_presign.img
The use of the name `args.bin` is now deprecated. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
13078509e9
commit
ff3f307a14
1 changed files with 3 additions and 6 deletions
|
|
@ -91,12 +91,12 @@ fn process_tags(b8: *mut u8) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn doit() -> io::Result<()> {
|
fn main() -> io::Result<()> {
|
||||||
let args: Vec<String> = env::args().collect();
|
let args: Vec<String> = env::args().collect();
|
||||||
if args.len() < 2 {
|
if args.len() < 2 {
|
||||||
println!(
|
println!(
|
||||||
"Usage: {} args.bin",
|
"Usage: {} [xous_presign.img]",
|
||||||
args.get(0).unwrap_or(&"read-tags".to_owned())
|
args.get(0).map(|a| a.as_str()).unwrap_or("read-tags")
|
||||||
);
|
);
|
||||||
process::exit(1);
|
process::exit(1);
|
||||||
}
|
}
|
||||||
|
|
@ -113,6 +113,3 @@ fn doit() -> io::Result<()> {
|
||||||
process_tags(byte_buffer);
|
process_tags(byte_buffer);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
fn main() {
|
|
||||||
doit().unwrap();
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue