@@ -689,8 +689,6 @@ def command_kill_session(args):
689689def get_parser ():
690690 """Return :py:class:`argparse.ArgumentParser` instance for CLI."""
691691
692-
693-
694692 server_parser = argparse .ArgumentParser (add_help = False )
695693
696694 server_parser .add_argument (
@@ -717,9 +715,8 @@ def get_parser():
717715 )
718716
719717 parser = argparse .ArgumentParser (
720- description = '''\
721- Launch tmux workspace. Help documentation: <http://tmuxp.rtfd.org>.
722- ''' ,
718+ description = 'Launch tmux workspace. '
719+ 'Help documentation: <http://tmuxp.rtfd.org>.' ,
723720 parents = [server_parser ]
724721 )
725722
@@ -811,18 +808,7 @@ def get_parser():
811808 dest = 'config' ,
812809 type = str ,
813810 nargs = '?' ,
814- help = '''\
815- List of config files to launch session from. Usage::
816-
817- Load ~/.tmuxp/myproject.yaml::
818-
819- $ tmuxp load myproject.yaml
820-
821- Load $CWD/.tmuxp.yaml or $CWD/.tmuxp.json::
822-
823- $ tmuxp .
824-
825- '''
811+ help = 'List config available in working directory and config folder.'
826812 ).completer = ConfigFileCompleter (allowednames = ('.yaml' , '.json' ), directories = False )
827813 load .set_defaults (callback = command_load )
828814
@@ -835,14 +821,7 @@ def get_parser():
835821 dest = 'config' ,
836822 type = str ,
837823 default = None ,
838- help = '''\
839- Check current working directory (%s) then $HOME/.tmuxp directory (%s).
840-
841- $ tmuxp .
842-
843- will check launch a ~/.pullv.yaml / ~/.pullv.json from the cwd.
844- will also check for any ./*.yaml and ./*.json.
845- ''' % (cwd_dir + '/' , config_dir )
824+ help = 'Absolute or relative path to config file.'
846825 ).completer = ConfigFileCompleter (allowednames = ('.yaml' , '.json' ), directories = False )
847826
848827 convert .set_defaults (callback = command_convert )
0 commit comments