From 64983dcc892b56c137b6ec32087fa835c637f25c Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Fri, 13 Apr 2012 15:49:06 +0200 Subject: Extend usage --- test/ipedec.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') 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) -- cgit v1.2.3