|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
from cl_client import client, __app__, __version__
|
|
|
|
|
from cl_opt import opt, TitledHelpFormatter
|
|
|
|
|
from cl_opt import opt
|
|
|
|
|
import sys
|
|
|
|
|
from cl_share_cmd import share_cmd
|
|
|
|
|
|
|
|
|
@ -47,7 +47,7 @@ resource")},
|
|
|
|
|
'help':_("not synchronize the user preferences, is used \
|
|
|
|
|
in conjunction with the 'login' or 'logout'")}]
|
|
|
|
|
|
|
|
|
|
class sync(share_cmd):
|
|
|
|
|
class sync_cmd(share_cmd):
|
|
|
|
|
def __init__(self):
|
|
|
|
|
# Объект опций командной строки
|
|
|
|
|
self.optobj = opt(\
|
|
|
|
@ -58,7 +58,6 @@ class sync(share_cmd):
|
|
|
|
|
comment_examples=COMMENT_EXAMPLES,
|
|
|
|
|
description=DESCRIPTION,
|
|
|
|
|
option_list=CMD_OPTIONS + opt.variable_control+opt.color_control,
|
|
|
|
|
formatter=TitledHelpFormatter(),
|
|
|
|
|
check_values=self.checkOpts)
|
|
|
|
|
# Создаем объект логики
|
|
|
|
|
self.logicObj = client()
|