Skip to content

Commit

Permalink
chore: Fixup help
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbegamerxx954 committed May 10, 2024
1 parent eaecc16 commit 07a5b29
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ use inquire::{validator::Validation, Confirm};
use object_rewrite::Rewriter;
use zip::{read::ZipFile, write::ExtendedFileOptions, ZipArchive, ZipWriter};
#[derive(Parser)]
#[clap(name = "Injector", version = "0.0.1")]
#[clap(name = "Mc injector", version = "0.0.1")]
#[command(version, about, long_about = None)]
struct Options {
/// Folders/files to work with
/// Apk file to patch
apk: String,
/// The new name of the apk
/// New app name
#[arg(short, long, default_value = "Minecraft Patched(whar)")]
appname: String,
/// New package name(optional)
#[arg(short, long)]
pkgname: Option<String>,
/// Where to place the output at
/// Output path
#[arg(short, long)]
output: String,
}
Expand Down Expand Up @@ -70,7 +70,7 @@ fn rewrite_zip(zip_file: &File, output: &Path, opts: &Options) -> Result<()> {
}
if total_size > 0 {
remove_music = Confirm::new(&format!(
"remove vanilla songs to save {} from the final apk?",
"Remove vanilla songs to save {} from the final apk?",
human_bytes(total_size as f64)
))
.prompt()?;
Expand Down

0 comments on commit 07a5b29

Please sign in to comment.