timproved help - sphere - GPU-based 3D discrete element method algorithm with o… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit f35d404148faab71c849a58f546868cb7b540441 | |
parent 70a168c7cf96d78965f6dab56b392596799d3a63 | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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; | |
} | |
} |