
3 Dec
2020
3 Dec
'20
11:18 a.m.
On Thu, Dec 03, 2020 at 10:41:27AM +0800, Li Yuanchao wrote:
+ +argv = if ARGV == [] + ['-h'] + else + ARGV + end
You can use
argv = ARGV.empty? ? ['-h'] : ARGV
OK, let't me try Thanks, Weitao
Thanks, Yuanchao
+ +opt_parser.parse!(argv) + +job_id = argv[0] mail = MailJobResult.new(job_id) mail.send_mail -- 2.23.0