diff --git a/i18n/cl_lib_ru.mo b/i18n/cl_lib_ru.mo index 2689841..d8cdb4d 100644 Binary files a/i18n/cl_lib_ru.mo and b/i18n/cl_lib_ru.mo differ diff --git a/pym/cl_opt.py b/pym/cl_opt.py index 33bb566..bd8a83c 100644 --- a/pym/cl_opt.py +++ b/pym/cl_opt.py @@ -274,13 +274,14 @@ class opt(optparse.OptionParser): ) """ - variable_control = \ + variable_set = \ [{'longOption':"set", 'optVal':"VAR=VALUE", 'action':'append', 'help':_("set value for variable") - }, - {'shortOption':"v", + }] + variable_view = \ + [{'shortOption':"v", 'longOption':"vars", 'action':'count', 'help':_("print variables, if the two options is verbose " @@ -295,6 +296,7 @@ is used in conjunction with the options '-v --vars'") 'help':_("output variables in the format of XML, \ is used in conjunction with the option '-v --vars'") }] + variable_control = variable_set + variable_view color_control = \ [