force drop on exit

master
Avril 5 years ago
parent a9121e4079
commit 90e82881c3
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -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)
} }

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
73b426bd99679b99ed5774ddd55ddbc845f04377eb9c778b06162232b4188df4 12d5669e6e0055d7a437f673afb3539dd4365f17fe2edccd18640160f2d1c4c1

Loading…
Cancel
Save