Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #47 from bschaeffer/optparser_exceptions

rescue OptionParser exceptions
  • Loading branch information...
commit 0790ed62665911e608efcc7b7d094bf9ea00b140 2 parents fea7f0a + ff5dc62
authored May 26, 2011

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. 5  lib/gist.rb
5  lib/gist.rb
@@ -80,9 +80,10 @@ def execute(*args)
80 80
       end
81 81
     end
82 82
 
83  
-    opts.parse!(args)
84  
-
85 83
     begin
  84
+
  85
+      opts.parse!(args)
  86
+
86 87
       if $stdin.tty? && args[0] != '-'
87 88
         # Run without stdin.
88 89
 

0 notes on commit 0790ed6

Please sign in to comment.
Something went wrong with that request. Please try again.