Rename utils into redox-initfs-ar.

This commit is contained in:
4lDO2
2021-02-20 14:33:37 +01:00
parent 3b85a1d887
commit 5e9e2e9ca8
3 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -19,5 +19,5 @@ kernel = []
[workspace]
members = [
"utils",
"redox-initfs-ar",
]
@@ -1,15 +1,12 @@
[package]
name = "utils"
name = "redox-initfs-ar"
version = "0.1.0"
authors = ["4lDO2 <4lDO2@protonmail.com>"]
edition = "2018"
description = "Archive a directory into a Redox initfs image"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
path = "src/redox_initfs_package.rs"
name = "redox-initfs-package"
[dependencies]
anyhow = "1"
clap = "2.33"
@@ -337,15 +337,17 @@ fn allocate_contents_and_write_inodes(
}
fn main() -> Result<()> {
let matches = App::new("redox_initfs_package")
.help("Package a Redox initfs")
let matches = App::new(clap::crate_name!())
.about(clap::crate_description!())
.version(clap::crate_version!())
.author(clap::crate_authors!())
.arg(
Arg::with_name("MAX_SIZE")
.long("--max-size")
.short("-m")
.takes_value(true)
.required(false)
.help("Set the upper limit for how large the image can become (default 8 MiB)."),
.help("Set the upper limit for how large the image can become (default 64 MiB)."),
)
.arg(
Arg::with_name("SOURCE")