|
|
@ -38,19 +38,21 @@ fn version(verbose: bool)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
fn usage() -> ! {
|
|
|
|
fn usage() -> ! {
|
|
|
|
let prog = &arg::program_name();
|
|
|
|
{
|
|
|
|
version(true);
|
|
|
|
let prog = &arg::program_name();
|
|
|
|
println!("Usage: {} [-s] [-e <exec string>] [-o <output file>] [-] <files...>", prog);
|
|
|
|
version(true);
|
|
|
|
println!("Usage: {} -h", prog);
|
|
|
|
println!("Usage: {} [-s] [-e <exec string>] [-o <output file>] [-] <files...>", prog);
|
|
|
|
println!("Usage: {} -v|-V", prog);
|
|
|
|
println!("Usage: {} -h", prog);
|
|
|
|
println!();
|
|
|
|
println!("Usage: {} -v|-V", prog);
|
|
|
|
println!(" -h\t\tPrint this message.");
|
|
|
|
println!();
|
|
|
|
println!(" -v\t\tPrint version.");
|
|
|
|
println!(" -h\t\tPrint this message.");
|
|
|
|
println!(" -V\t\tPrint program info.");
|
|
|
|
println!(" -v\t\tPrint version.");
|
|
|
|
println!(" -\t\tStop reading options.");
|
|
|
|
println!(" -V\t\tPrint program info.");
|
|
|
|
println!(" -s\t\tSilent mode.");
|
|
|
|
println!(" -\t\tStop reading options.");
|
|
|
|
println!(" -e <exec>\tScript to run after extraction.");
|
|
|
|
println!(" -s\t\tSilent mode.");
|
|
|
|
println!(" -o <file>\tOutput filename.");
|
|
|
|
println!(" -e <exec>\tScript to run after extraction.");
|
|
|
|
|
|
|
|
println!(" -o <file>\tOutput filename.");
|
|
|
|
|
|
|
|
}
|
|
|
|
std::process::exit(1)
|
|
|
|
std::process::exit(1)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|