mirror of https://github.com/xzeldon/htop.git
Simplify the --version output, old dates are confusing people
Drop the copyright notice from the version output as a number of people seem to be confused by what this means, and we can do without all the (well intentioned) bug reports.
This commit is contained in:
parent
4bd0859b80
commit
0a835e13bf
6
htop.c
6
htop.c
|
@ -29,14 +29,12 @@ in the source distribution for its full text.
|
||||||
//#link m
|
//#link m
|
||||||
|
|
||||||
static void printVersionFlag() {
|
static void printVersionFlag() {
|
||||||
fputs("htop " VERSION " - " COPYRIGHT "\n"
|
fputs("htop " VERSION "\n", stdout);
|
||||||
"Released under the GNU GPL.\n\n",
|
|
||||||
stdout);
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void printHelpFlag() {
|
static void printHelpFlag() {
|
||||||
fputs("htop " VERSION " - " COPYRIGHT "\n"
|
fputs("htop " VERSION "\n"
|
||||||
"Released under the GNU GPL.\n\n"
|
"Released under the GNU GPL.\n\n"
|
||||||
"-C --no-color Use a monochrome color scheme\n"
|
"-C --no-color Use a monochrome color scheme\n"
|
||||||
"-m --no-mouse Disable the mouse\n"
|
"-m --no-mouse Disable the mouse\n"
|
||||||
|
|
Loading…
Reference in New Issue