Permalink
Browse files

Move -s near to other display options

  • Loading branch information...
1 parent f25aa47 commit ab3ef5641e643bb5bc05c52493534bfcf7896670 @ConradIrwin committed Nov 11, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 bin/jist
View
@@ -63,6 +63,10 @@ Usage: #{executable_name} [-o|-c] [-p] [-s] [-d DESC] [-t TOKEN|-a] [-u URL] [-P
options[:description] = description
end
+ opts.on("-s", "--shorten", "Shorten the gist URL using git.io.") do |shorten|
+ options[:shorten] = shorten
+ end
+
opts.on("-u", "--update [ URL | ID ]", "Update an existing gist.") do |update|
options[:update] = update
end
@@ -71,10 +75,6 @@ Usage: #{executable_name} [-o|-c] [-p] [-s] [-d DESC] [-t TOKEN|-a] [-u URL] [-P
options[:anonymous] = true
end
- opts.on("-s", "--shorten", "Shorten the gist URL using git.io.") do |shorten|
- options[:shorten] = shorten
- end
-
opts.on("-t", "--token OAUTH_TOKEN", "The OAuth2 access_token to use.") do |token|
options[:access_token] = token
end

0 comments on commit ab3ef56

Please sign in to comment.