diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-04-13 15:49:06 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-04-13 15:49:06 +0200 |
commit | 64983dcc892b56c137b6ec32087fa835c637f25c (patch) | |
tree | 7a09d23bc066cf91ee5c8f0b1035390fe40d1e21 /test | |
parent | dcbecf78c3700c2029f675d2c688318f50891712 (diff) | |
download | libufodecode-64983dcc892b56c137b6ec32087fa835c637f25c.tar.gz libufodecode-64983dcc892b56c137b6ec32087fa835c637f25c.tar.bz2 libufodecode-64983dcc892b56c137b6ec32087fa835c637f25c.tar.xz libufodecode-64983dcc892b56c137b6ec32087fa835c637f25c.zip |
Extend usage
Diffstat (limited to 'test')
-rw-r--r-- | test/ipedec.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/ipedec.c b/test/ipedec.c index 5994fee..ad982ef 100644 --- a/test/ipedec.c +++ b/test/ipedec.c @@ -36,7 +36,11 @@ static int read_raw_file(const char *filename, char **buffer, size_t *length) static void usage(void) { - printf("usage: ipedec [--num-rows=ROWS] [--clear-frame] FILE [FILE ...]\n"); + printf("usage: ipedec [--num-rows=ROWS] [--clear-frame] FILE [FILE ...]\n\ +Options:\n\ + -h, --help Show this help message and exit\n\ + -r, --num-rows=N N rows that are contained in the file\n\ + -c, --clear-frame Clear the frame for each iteration\n"); } static void process_file(const char *filename, int rows, int clear_frame) |