commit a1bf6e545cc6d0ad1ee054864606aff6bde20b59
parent ff7c3aa7b14e5b2ea7a5cbb70df1862eeb8dcb86
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 14 Nov 2018 10:54:09 +0100
Update the short help message of les2htcp
Diffstat:
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/src/les2htcp.c b/src/les2htcp.c
@@ -50,16 +50,13 @@ static void
print_help(const char* cmd)
{
ASSERT(cmd);
+ (void)cmd;
printf(
-"Usage: %s -i INPUT [OPTIONS]\n"
-"Convert the LES data stored into INPUT from NetCDF to the htcp fileformat.\n\n",
- cmd);
+"Usage: les2htcp -i INPUT [OPTIONS]\n"
+"Convert the LES data stored into INPUT from NetCDF to the htcp fileformat.\n\n");
printf(
-" -c advanced check of the validity of the submitted LES file\n"
-" with respect to the converter pre-requisites. Note that\n"
-" this option can increase significantly the conversion\n"
-" time.\n");
+" -c advanced check of the validity of the submitted LES file.\n");
printf(
" -f overwrite the OUTPUT file if it already exists.\n");
printf(
@@ -74,10 +71,8 @@ print_help(const char* cmd)
" -o OUTPUT write results to OUTPUT. If not defined, write results to\n"
" standard output.\n");
printf(
-" -p targeted page size in bytes. Must be a power of 2. The size\n"
-" of the converted LES data and their address into output are\n"
-" aligned according to this size. By default, the page size\n"
-" is %li Bytes.\n",
+" -p targeted page size in bytes. Must be a power of 2. By\n"
+" default, the page size is %li Bytes.\n",
ARGS_DEFAULT.pagesize);
printf(
" -q do not write results to OUTPUT.\n");
@@ -85,9 +80,10 @@ print_help(const char* cmd)
" -v display version information and exit.\n");
printf("\n");
printf(
-"%s (C) 2018 |Meso|Star>. This is free software released under the GNU GPL\n"
-"license, version 3 or later. You are free to change or redistribute it under\n"
-"certain conditions <http://gnu.org/licenses/gpl.html>.\n", cmd);
+"les2htcp (C) 2018 CNRS, |Meso|Star>, Université Paul Sabatier. This is free\n"
+"software released under the GNU GPL license, version 3 or later. You are free\n"
+"to change or redistribute it under certain conditions\n"
+"<http://gnu.org/licenses/gpl.html>\n");
}
static void