comparison frontends/src/jp/cmd_info.py @ 2340:4fd499d14b27

jp (info): fixed help for version and session
author Goffi <goffi@goffi.org>
date Sun, 20 Aug 2017 15:01:35 +0200
parents fff88c33442f
children ca1ab42c7ae9
comparison
equal deleted inserted replaced
2339:d94e932be8b3 2340:4fd499d14b27
104 104
105 105
106 class Version(base.CommandBase): 106 class Version(base.CommandBase):
107 107
108 def __init__(self, host): 108 def __init__(self, host):
109 super(Version, self).__init__(host, 'version', help=_('running session')) 109 super(Version, self).__init__(host, 'version', help=_('software version'))
110 self.need_loop=True 110 self.need_loop=True
111 111
112 def add_parser_options(self): 112 def add_parser_options(self):
113 self.parser.add_argument("jid", type=str, help=_("Entity to request")) 113 self.parser.add_argument("jid", type=str, help=_("Entity to request"))
114 114
136 136
137 137
138 class Session(base.CommandBase): 138 class Session(base.CommandBase):
139 139
140 def __init__(self, host): 140 def __init__(self, host):
141 super(Session, self).__init__(host, 'session', use_output='dict', help=_('client version')) 141 super(Session, self).__init__(host, 'session', use_output='dict', help=_('running session'))
142 self.need_loop=True 142 self.need_loop=True
143 143
144 def add_parser_options(self): 144 def add_parser_options(self):
145 pass 145 pass
146 146