Removed unnessesary shorthand cli arguments.
This commit is contained in:
@@ -47,10 +47,10 @@ begin
|
|||||||
|
|
||||||
options.each do |option, argument|
|
options.each do |option, argument|
|
||||||
case option
|
case option
|
||||||
when "--help", "-h"
|
when "--help"
|
||||||
help()
|
help()
|
||||||
exit
|
exit
|
||||||
when "--verbose", "-v"
|
when "--verbose"
|
||||||
@verbose = true
|
@verbose = true
|
||||||
when "--generate_plugin_list", "--gpl"
|
when "--generate_plugin_list", "--gpl"
|
||||||
if argument == ''
|
if argument == ''
|
||||||
@@ -70,7 +70,7 @@ begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
@generate_theme_list = true
|
@generate_theme_list = true
|
||||||
when "--update", "-u"
|
when "--update"
|
||||||
@update = true
|
@update = true
|
||||||
when "--generate_full_plugin_list", "--gfpl"
|
when "--generate_full_plugin_list", "--gfpl"
|
||||||
@generate_full_plugin_list = true
|
@generate_full_plugin_list = true
|
||||||
|
|||||||
Reference in New Issue
Block a user