Make command line parsing more compatible with gitk
authorJonas Fonseca <fonseca@diku.dk>
Thu, 7 Feb 2008 19:00:38 +0000 (20:00 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Mon, 17 Mar 2008 01:22:25 +0000 (02:22 +0100)
commit77452abca082e3d7d6ec4f079928583aa1ad6f50
tree4d37476543102331abbe0542a4336d429d6a1b33
parentb6607e7e796f5b58d64211c022d3e1af6159bdaa
Make command line parsing more compatible with gitk

Many of the command line arguments are relics from the beginning of the
project and served as a method of configuring tig before support for the
configuration file was introduced. Since then they have become less
useful and make tig less compatible with gitk and other git repo
viewers.

This commit tries to fix this by deprecating all command line arguments
except the very tig specific version and help arguments. The option to
enter the status view (-S) is moved to a new "status" subcommand. Tig
will warn about the deprecation and advise -S users to use the new
subcommand. The handling of "--" is kept as it is for compatibility, but
will be removed in a future version. Finally, the man page and manual
was updated to reflect the new options and subcommands.

So enjoy the new less cludgy `tig --all' ... I will! :)
contrib/tig-completion.bash
manual.txt
tig.1.txt
tig.c