less fprintf() calls; punctuation
This commit is contained in:
+17
-17
@@ -973,23 +973,23 @@ output_GPL_notice(void)
|
|||||||
* So, directly output to stderr
|
* So, directly output to stderr
|
||||||
*/
|
*/
|
||||||
fprintf(stderr, "LCDd %s, LCDproc Protocol %s\n", VERSION, PROTOCOL_VERSION);
|
fprintf(stderr, "LCDd %s, LCDproc Protocol %s\n", VERSION, PROTOCOL_VERSION);
|
||||||
fprintf (stderr, "Part of LCDproc\n");
|
fprintf(stderr, "Part of the LCDproc suite\n");
|
||||||
fprintf (stderr, "Copyright (C) 1998-2006 William Ferrell, Scott Scriven\n");
|
fprintf(stderr, "Copyright (C) 1998-2006 William Ferrell, Scott Scriven\n"
|
||||||
fprintf (stderr, " and many other contributors\n\n");
|
" and many other contributors\n\n");
|
||||||
fprintf (stderr, "This program is free software; you can redistribute it and/or\n");
|
|
||||||
fprintf (stderr, "modify it under the terms of the GNU General Public License\n");
|
|
||||||
fprintf (stderr, "as published by the Free Software Foundation; either version 2\n");
|
|
||||||
fprintf (stderr, "of the License, or (at your option) any later version.\n\n");
|
|
||||||
|
|
||||||
fprintf (stderr, "This program is distributed in the hope that it will be useful,\n");
|
fprintf(stderr, "This program is free software; you can redistribute it and/or\n"
|
||||||
fprintf (stderr, "but WITHOUT ANY WARRANTY; without even the implied warranty of\n");
|
"modify it under the terms of the GNU General Public License\n"
|
||||||
fprintf (stderr, "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n");
|
"as published by the Free Software Foundation; either version 2\n"
|
||||||
fprintf (stderr, "GNU General Public License for more details.\n\n");
|
"of the License, or (at your option) any later version.\n\n");
|
||||||
|
|
||||||
fprintf (stderr, "The file COPYING contains the GNU General Public License.\n");
|
fprintf(stderr, "This program is distributed in the hope that it will be useful,\n"
|
||||||
fprintf (stderr, "You should have received a copy of the GNU General Public License\n");
|
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
|
||||||
fprintf (stderr, "along with this program; if not, write to the Free Software\n");
|
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
|
||||||
fprintf (stderr, "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n\n");
|
"GNU General Public License for more details.\n\n");
|
||||||
|
|
||||||
|
fprintf(stderr, "You should have received a copy of the GNU General Public License\n"
|
||||||
|
"along with this program; if not, write to the Free Software Foundation,\n"
|
||||||
|
"Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1002,8 +1002,8 @@ output_help_screen(void)
|
|||||||
debug( RPT_DEBUG, "%s()", __FUNCTION__ );
|
debug( RPT_DEBUG, "%s()", __FUNCTION__ );
|
||||||
|
|
||||||
fprintf(stdout, "LCDd: LCDproc Server Daemon, %s\n", version);
|
fprintf(stdout, "LCDd: LCDproc Server Daemon, %s\n", version);
|
||||||
fprintf (stdout, "Copyright (c) 1999-2006 Scott Scriven, William Ferrell, and misc contributors\n");
|
fprintf(stdout, "Copyright (c) 1999-2006 Scott Scriven, William Ferrell, and misc. contributors.\n");
|
||||||
fprintf (stdout, "This program is freely redistributable under the terms of the GNU Public License\n\n");
|
fprintf(stdout, "This program is freely redistributable under the terms of the GNU Public License.\n\n");
|
||||||
fprintf(stdout, "Usage: LCDd [<options>]\n");
|
fprintf(stdout, "Usage: LCDd [<options>]\n");
|
||||||
fprintf(stdout, " where <options> are:\n");
|
fprintf(stdout, " where <options> are:\n");
|
||||||
fprintf(stdout, "\t-h\t\tDisplay this help screen\n");
|
fprintf(stdout, "\t-h\t\tDisplay this help screen\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user