lib/patricia/cli.rb in patricia-0.1.2 vs lib/patricia/cli.rb in patricia-0.1.3
- old
+ new
@@ -47,9 +47,29 @@
opts.on('-g', '--gfm',
'Use GitHub Flavored Markdown for all', ' rendering') do |v|
options[:gfm] = v
end
+ opts.on('-a', '--ace',
+ 'Use Ace editor (only useful', " when using `-e')") do |v|
+ options[:ace] = v
+ end
+
+ opts.on('--ace-theme THEME',
+ 'Theme to use with Ace') do |v|
+ options[:ace_theme] = v
+ end
+
+ opts.on('--ace-keybinding KEYBINDING',
+ 'Keybinding to use with Ace') do |v|
+ options[:ace_keybinding] = v
+ end
+
+ opts.on('--ace-mode MODE',
+ 'Mode to use with Ace') do |v|
+ options[:ace_mode] = v
+ end
+
# Description
opts.separator ''
opts.separator 'Info:'