mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 02:14:17 +00:00
Files ruby-mode snippets updated to work with yasnippet.
This commit is contained in:
@@ -9,7 +9,7 @@ require "optparse"
|
||||
options = {${1::default => "args"}}
|
||||
|
||||
ARGV.options do |opts|
|
||||
opts.banner = "Usage: #{File.basename(\$PROGRAM_NAME)} [OPTIONS]${2/^\s*$|(.*\S.*)/(?1: )/}${2:OTHER_ARGS}"
|
||||
opts.banner = "Usage: #{File.basename(\$PROGRAM_NAME)} [OPTIONS]${2:$(if (string= yas/text "") "" " ")}${2:OTHER_ARGS}"
|
||||
|
||||
opts.separator ""
|
||||
opts.separator "Specific Options:"
|
||||
|
||||
Reference in New Issue
Block a user