summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-31 16:14:23 +1000
committerNathan Scott <nathans@redhat.com>2020-08-31 16:14:23 +1000
commit0a835e13bfab831426fafb751c1413041f5324ca (patch)
tree42075fa436bac800650c46d63525cb5d3cb30259 /htop.c
parent4bd0859b80e6ff6441083784684b65b6d7d64d54 (diff)
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.
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/htop.c b/htop.c
index 7cdf4e42..bdaeb844 100644
--- a/htop.c
+++ b/htop.c
@@ -29,14 +29,12 @@ in the source distribution for its full text.
//#link m
static void printVersionFlag() {
- fputs("htop " VERSION " - " COPYRIGHT "\n"
- "Released under the GNU GPL.\n\n",
- stdout);
+ fputs("htop " VERSION "\n", stdout);
exit(0);
}
static void printHelpFlag() {
- fputs("htop " VERSION " - " COPYRIGHT "\n"
+ fputs("htop " VERSION "\n"
"Released under the GNU GPL.\n\n"
"-C --no-color Use a monochrome color scheme\n"
"-m --no-mouse Disable the mouse\n"

© 2014-2024 Faster IT GmbH | imprint | privacy policy