diff --git a/lib/n65/front_end.rb b/lib/n65/front_end.rb index 73bed72..195f38e 100644 --- a/lib/n65/front_end.rb +++ b/lib/n65/front_end.rb @@ -69,10 +69,18 @@ module N65 @options[:output_file] = output_file; end + opts.on('-v', '--version', 'Displays Version') do + puts "N65 Assembler Version #{N65::VERSION}" + exit + end + + opts.on('-h', '--help', 'Displays Help') do puts opts exit end + + end end