diff --git a/awesome.1.txt b/awesome.1.txt index 5d4e658b..6685713e 100644 --- a/awesome.1.txt +++ b/awesome.1.txt @@ -9,7 +9,7 @@ awesome - awesome window manager SYNOPSIS -------- -awesome [-v] [-c configuration file] +awesome [-v | --version] [-c configuration file] DESCRIPTION ----------- @@ -39,7 +39,7 @@ awesome can draw a small border around windows to indicate the focus state. OPTIONS ------- --v:: +-v | --version:: prints version information to standard output, then exits. -c:: use an alternate configuration file instead of $HOME/.awesomerc. diff --git a/awesome.c b/awesome.c index 4aa26dbb..20802845 100644 --- a/awesome.c +++ b/awesome.c @@ -292,9 +292,9 @@ main(int argc, char *argv[]) if(argc >= 2) { - if(!a_strcmp("-v", argv[1])) + if(!a_strcmp("-v", argv[1]) || !a_strcmp("--version", argv[1])) { - printf("awesome-" VERSION " (" RELEASE ") © 2007 Julien Danjou\n"); + printf("awesome-" VERSION " (" RELEASE ")\n"); return EXIT_SUCCESS; } else if(!a_strcmp("-c", argv[1]))