Added shorthand params to wpstools cli arguments. URI encoding URL before request, see Issue #55.

This commit is contained in:
ethicalhack3r
2012-11-06 14:53:06 +01:00
parent 9b8b573f83
commit d22c104fb2
2 changed files with 4 additions and 4 deletions

View File

@@ -47,10 +47,10 @@ begin
options.each do |option, argument|
case option
when "--help"
when "--help", "-h"
help()
exit
when "--verbose"
when "--verbose", "-v"
@verbose = true
when "--generate_plugin_list", "--gpl"
if argument == ''
@@ -70,7 +70,7 @@ begin
end
@generate_theme_list = true
when "--update"
when "--update", "-u"
@update = true
when "--generate_full_plugin_list", "--gfpl"
@generate_full_plugin_list = true