diff options
author | James Booth <boothj5@gmail.com> | 2012-07-20 00:39:21 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-07-20 00:39:21 +0100 |
commit | 7c908780622319671337986186cda1428b9e0272 (patch) | |
tree | 51136a90815575b485cdffe00659f0ca3d79e46f /src/windows.c | |
parent | 696848bdc3299e62b883ff71fea8f962f74e2153 (diff) | |
download | profani-tty-7c908780622319671337986186cda1428b9e0272.tar.gz |
Command line args and welcome message
Diffstat (limited to 'src/windows.c')
-rw-r--r-- | src/windows.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/windows.c b/src/windows.c index 5a0b12d7..b5378069 100644 --- a/src/windows.c +++ b/src/windows.c @@ -474,7 +474,21 @@ static void _create_windows(void) if (prefs_get_showsplash()) { _print_splash_logo(_cons_win); } else { - wprintw(_cons_win, "Welcome to Profanity.\n"); + wprintw(_cons_win, "Welcome to Profanity, version %s\n", PACKAGE_VERSION); + _win_show_time(_cons_win); + wprintw(_cons_win, "Copyright (C) 2012 James Booth <%s>.\n", PACKAGE_BUGREPORT); + _win_show_time(_cons_win); + wprintw(_cons_win, "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"); + _win_show_time(_cons_win); + wprintw(_cons_win, "\n"); + _win_show_time(_cons_win); + wprintw(_cons_win, "This is free software; you are free to change and redistribute it.\n"); + _win_show_time(_cons_win); + wprintw(_cons_win, "There is NO WARRANTY, to the extent permitted by law.\n"); + _win_show_time(_cons_win); + wprintw(_cons_win, "\n"); + _win_show_time(_cons_win); + wprintw(_cons_win, "Type '/help' to get started.\n"); } prefresh(_cons_win, 0, 0, 1, 0, rows-3, cols-1); |