timproved help - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit f35d404148faab71c849a58f546868cb7b540441
(DIR) parent 70a168c7cf96d78965f6dab56b392596799d3a63
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Thu, 8 May 2014 10:57:18 +0200
improved help
Diffstat:
M src/sphere_status.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/src/sphere_status.c b/src/sphere_status.c
t@@ -105,7 +105,8 @@ int open_status_file(char* cwd, char* sim_name, int format) {
return 0; // Exit program successfully
} else {
- fprintf(stderr, "Error: Could not open file %s\n", file);
+ fprintf(stderr, "Error: Could not open file %s\n"
+ "Run this program with `--help` flag for help.\n", file);
return 1;
}
}