diff options
author | P. J. McDermott <pjm@nac.net> | 2011-12-18 04:07:19 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2011-12-18 04:07:19 (EST) |
commit | 36ef8f3e4affd47a77d40cf09c3b06ea496b4f84 (patch) | |
tree | 7bbd4df192e5b269706ea539ddb18e50ab933573 /src | |
parent | 81de5ae77d6a5f5538ce9aff0eb9ebb009dba31d (diff) | |
download | cgol-36ef8f3e4affd47a77d40cf09c3b06ea496b4f84.zip cgol-36ef8f3e4affd47a77d40cf09c3b06ea496b4f84.tar.gz cgol-36ef8f3e4affd47a77d40cf09c3b06ea496b4f84.tar.bz2 |
Print usage information to stderr with line break.
Diffstat (limited to 'src')
-rw-r--r-- | src/cgol.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -245,6 +245,6 @@ print_cell(int i, int j, bool next) void usage(const char *invocation) { - printf("Usage: %s [-w WIDTH] [-h HEIGHT] [-s SEEDPROB] [-r RATE] " - "[-n GENERATIONS]", invocation); + fprintf(stderr, "Usage: %s [-w WIDTH] [-h HEIGHT] [-s SEEDPROB] [-r RATE] " + "[-n GENERATIONS]\n", invocation); } |