Fix help text and short desc for the two wrapper kittens
This commit is contained in:
parent
dc6edf9191
commit
c03dff2322
2 changed files with 3 additions and 3 deletions
|
|
@ -504,12 +504,12 @@ def kitten_clis() -> None:
|
|||
od.append(opt.struct_declaration())
|
||||
if ac is not None:
|
||||
print(''.join(ac.as_go_code('ans.ArgCompleter', ' = ')))
|
||||
if not kcd:
|
||||
print('specialize_command(ans)')
|
||||
if has_underscore:
|
||||
print("clone := root.AddClone(ans.Group, ans)")
|
||||
print('clone.Hidden = false')
|
||||
print(f'clone.Name = "{serialize_as_go_string(kitten.replace("_", "-"))}"')
|
||||
if not kcd:
|
||||
print('specialize_command(ans)')
|
||||
print('}')
|
||||
print('type Options struct {')
|
||||
print('\n'.join(od))
|
||||
|
|
|
|||
|
|
@ -132,4 +132,4 @@ def main(args: List[str]) -> None:
|
|||
cd['usage'] = usage
|
||||
cd['options'] = option_text
|
||||
cd['help_text'] = help_text
|
||||
cd['short_desc'] = help_text
|
||||
cd['short_desc'] = 'Transfer files easily over the TTY device'
|
||||
|
|
|
|||
Loading…
Reference in a new issue