bin/xclocalize in xclocalize-0.0.2 vs bin/xclocalize in xclocalize-0.0.3

- old
+ new

@@ -6,11 +6,13 @@ OptionParser.new do |opts| opts.banner = "Usage: xclocalize [options]" opts.on_tail('-h', '--help', 'Show this message') { puts opts; exit } opts.on_tail("-v", "--version", "Show version") { puts XCLocalize::VERSION; exit } + opts.parse! if STDIN.tty? puts opts.help exit 1 end + end \ No newline at end of file