schiff

Estimate the radiative properties of soft particless
git clone git://git.meso-star.com/schiff.git
Log | Files | Refs | README | LICENSE

commit f150280261dc47c522d81a4ec335c8e5fb13e06c
parent 6c904556533177886148a0846c01b77ed015d5e3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  4 Nov 2015 18:24:05 +0100

Minor update of some CLI error messages

Diffstat:
Msrc/schiff_args.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/schiff_args.c b/src/schiff_args.c @@ -259,8 +259,8 @@ schiff_args_init if(args->geom.type == SCHIFF_NONE) { fprintf(stderr, - "Missing geometry distribution.\nTry '%s -h' for more information.\n", - argv[0]); + "%s: missing geometry distribution.\nTry '%s -h' for more information.\n", + argv[0], argv[0]); res = RES_BAD_ARG; goto error; } @@ -269,7 +269,7 @@ schiff_args_init if(!args->wavelengths) { fprintf(stderr, - "Usage: %s [OPTIONS] [FILE].\nTry '%s -h' for more information.\n", + "Usage: %s [OPTIONS] [FILE]\nTry '%s -h' for more information.\n", argv[0], argv[0]); res = RES_BAD_ARG; goto error; @@ -284,8 +284,8 @@ schiff_args_init if(!args->properties) { fprintf(stderr, - "Missing optical properties.\nTry '%s -h' for more information.\n", - argv[0]); + "%s: missing optical properties.\nTry '%s -h' for more information.\n", + argv[0], argv[0]); res = RES_BAD_ARG; goto error; }