summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b63b625)
raw | patch | inline | side by side (parent: b63b625)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 4 Feb 2009 13:59:23 +0000 (14:59 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 5 Feb 2009 08:30:56 +0000 (09:30 +0100) |
tig.c | patch | blob | history |
index cba101c7bc1e5e268ec51ddb901308484ce21f6b..df44fcf422cd6ad22b7b0d99aba63f789086ab8f 100644 (file)
--- a/tig.c
+++ b/tig.c
* Options
*/
-static const char usage[] =
-"tig " TIG_VERSION " (" __DATE__ ")\n"
-"\n"
-"Usage: tig [options] [revs] [--] [paths]\n"
-" or: tig show [options] [revs] [--] [paths]\n"
-" or: tig blame [rev] path\n"
-" or: tig status\n"
-" or: tig < [git command output]\n"
-"\n"
-"Options:\n"
-" -v, --version Show version and exit\n"
-" -h, --help Show help message and exit";
-
/* Option and state variables. */
static bool opt_date = TRUE;
static bool opt_author = TRUE;
* Main
*/
+static const char usage[] =
+"tig " TIG_VERSION " (" __DATE__ ")\n"
+"\n"
+"Usage: tig [options] [revs] [--] [paths]\n"
+" or: tig show [options] [revs] [--] [paths]\n"
+" or: tig blame [rev] path\n"
+" or: tig status\n"
+" or: tig < [git command output]\n"
+"\n"
+"Options:\n"
+" -v, --version Show version and exit\n"
+" -h, --help Show help message and exit";
+
static void __NORETURN
quit(int sig)
{