From 39c3fcf9b8d53e6e3b9af52ade1a438aa140328f Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 5 Jun 2018 17:28:24 -0700 Subject: [PATCH] Add help to assembler. --- assembler.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/assembler.cr b/assembler.cr index fb81401..5859622 100644 --- a/assembler.cr +++ b/assembler.cr @@ -36,6 +36,7 @@ OptionParser.parse! do |parser| parser.on("-i IPIN", "--inst-pin=IPIN", "select instruction pin") do |ip| inst_pin = ip end + parser.on("-h", "--help") { puts parser } end enum InstType