1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

[mktemp] allow empty argument

This commit is contained in:
Sunrin SHIMURA (keen) 2016-01-03 22:36:57 +09:00
parent a09abc63a0
commit e733ffb936

View file

@ -56,7 +56,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
crash!(1, "quiet option is not supported yet."); crash!(1, "quiet option is not supported yet.");
}; };
if args.len() == 1 || matches.opt_present("help") { if matches.opt_present("help") {
print_help(&opts); print_help(&opts);
return 0; return 0;
} }