diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -11,11 +11,16 @@ #include "print.h" #include "resources.h" +/* This header file is automatically generated at build time from the Makefile + */ +#include "program_info.h" + void usage(int exit_code) { - printf("Usage: diff-dd [-s SECTOR_SIZE] [-b BUFFER_SIZE] [INFILE] REFFILE " - " OUTFILE\n"); + printf("Usage: %s [-s SECTOR_SIZE] [-b BUFFER_SIZE] [INFILE] REFFILE " + "OUTFILE\n", + PROGRAM_NAME_STR); exit(exit_code); } |
