Method: Sync#parser
- Defined in:
- lib/git-utils/sync.rb
#parser ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/git-utils/sync.rb', line 5 def parser OptionParser.new do |opts| opts. = "Usage: git sync [branch]" opts.on_tail("-h", "--help", "this usage guide") do puts opts.to_s; exit 0 end end end |