Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update opts doc for bin

  • Loading branch information...
commit 16b646961cd8b25a98e1ec41a060f9739102508b 1 parent dc75c73
Tore Darell authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 bin/barby
7 bin/barby
View
@@ -1,8 +1,9 @@
#!/usr/bin/env ruby
+#encoding: UTF-8
require 'optparse'
require 'rubygems'
-$: << File.join(File.dirname(__FILE__), '..', 'lib')
+#$: << File.join(File.dirname(__FILE__), '..', 'lib')
require 'barby'
options = {
@@ -20,8 +21,8 @@ ARGV.options do |o|
o.separator ''
o.on('-b', '--barcode=ClassName', String, 'Barcode type (Code128B)'){|v| options[:barcode] = v }
- o.on('-o', '--outputter=ClassName', String, 'Outputter (Png)'){|v| options[:outputter] = v }
- o.on('-m', '--method=method_name', String, 'Outputter method (to_png)'){|v| options[:outputter_method] = v }
+ o.on('-o', '--outputter=ClassName', String, 'Outputter (Ascii)'){|v| options[:outputter] = v }
+ o.on('-m', '--method=method_name', String, 'Outputter method (to_ascii)'){|v| options[:outputter_method] = v }
o.on_tail("-h", "--help", "Show this help message.") { puts o; exit }
Please sign in to comment.
Something went wrong with that request. Please try again.