diff options
Diffstat (limited to 'src/alf.c')
| -rw-r--r-- | src/alf.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -335,11 +335,16 @@ void crunch_file(const char *filename) { } void usage(void) { + extern char *usage_msg[]; + char **line; + puts("alf (ALF compressor) v" VERSION " by B. Watson, WTFPL."); printf("Usage: %s [-a|-o] archive.alf file [file ...]\n", self); puts("Options:"); - puts(" -a: append to archive"); - puts(" -o: overwrite archive (don't make backup with ~)"); + + for(line = usage_msg; *line; line++) + puts(*line); + exit(0); } |
