remove my name from -v and accept --version
This commit is contained in:
parent
687b648c1b
commit
e426e60801
|
@ -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.
|
||||
|
|
|
@ -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]))
|
||||
|
|
Loading…
Reference in New Issue