On Mon, Feb 18, 2013 at 12:48 AM, Thomas Adam <tho...@xteddy.org> wrote:

> On Sun, Feb 17, 2013 at 10:40:48PM +0300, anatoly techtonik wrote:
> > Hi,
> >
> > While my previous message awaits moderator's approval, here is another
> one.
> >
> > $ tmux -h
> > tmux: unknown option -- h
> > usage: tmux [-28lquv] [-c shell-command] [-f file] [-L socket-name]
> >             [-S socket-path] [command [flags]]
> > $ tmux --help
> > [exited]
> >
> > What I expected is to find out the command that makes tmux attach to
> > existing session or create new one if no session exists. As you may see,
> > the help output of the command is very poor. It would be very nice to see
> > command line help improved.
>
> The help output is like that of CVS it's contextual to the command you're
> running.
>

You don't use CVS yourself, do you? =)
Mercurial and SVN are much better replacements that fully deprecate CVS,
why not to use them as example?


> See for example:
>
> tmux -dfjfdjlkfdlk
> tmux new -fdjdfjfdl
>
> In the first case, you're receiving the help options for the main tmux
> command itself.
>
> In the second, you're receiving help for the "new" command to tmux.
>

I don't understand what prevents you from executing:
tmux -h
tmux new -h

If you execute hg or svn with '<command> -h' arguments, they will output
command specific help instead of general list of commands. It is very
awesome.


> It's already contextual; we cannot do any more guessing based on what you
> typed, alas.


Guessing? I am not sure why do you want a complicated guessing logic
instead of just properly handling -h, --help option.


>  > I also couldn't create a new issue on SF tracker.
>
> In this case, were it to report that; likely just as well.
>

 Too complicated phrase for my English. Sorry.
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to