Files ruby-mode snippets updated to work with yasnippet.

This commit is contained in:
Rob Christie
2009-11-02 01:34:29 +00:00
parent 02408621e8
commit 32c837290d
4 changed files with 3 additions and 13 deletions

View File

@@ -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:"