From e733ffb936a77bee25c3743fadeaef945f010729 Mon Sep 17 00:00:00 2001 From: "Sunrin SHIMURA (keen)" <3han5chou7@gmail.com> Date: Sun, 3 Jan 2016 22:36:57 +0900 Subject: [PATCH] [mktemp] allow empty argument --- src/mktemp/mktemp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mktemp/mktemp.rs b/src/mktemp/mktemp.rs index 882999685..6e2cdfea4 100644 --- a/src/mktemp/mktemp.rs +++ b/src/mktemp/mktemp.rs @@ -56,7 +56,7 @@ pub fn uumain(args: Vec) -> i32 { crash!(1, "quiet option is not supported yet."); }; - if args.len() == 1 || matches.opt_present("help") { + if matches.opt_present("help") { print_help(&opts); return 0; }