diff options
author | Jan Klemkow <j.klemkow@wemelug.de> | 2013-01-31 14:14:54 +0100 |
---|---|---|
committer | Jan Klemkow <j.klemkow@wemelug.de> | 2013-01-31 14:14:54 +0100 |
commit | 3da25dec5a11e2a36d5d663c9bff0166775b92e1 (patch) | |
tree | be49604e95f1468118d47edee1699c4002c8b284 /src | |
parent | 9bd3a9bd7f1c9a618313b1f9eaab96c9b7e63013 (diff) | |
download | advtime-3da25dec5a11e2a36d5d663c9bff0166775b92e1.tar.gz advtime-3da25dec5a11e2a36d5d663c9bff0166775b92e1.tar.bz2 advtime-3da25dec5a11e2a36d5d663c9bff0166775b92e1.zip |
describe parameter in usage part
Diffstat (limited to 'src')
-rw-r--r-- | src/advtime.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/advtime.c b/src/advtime.c index 376d983..be0427e 100644 --- a/src/advtime.c +++ b/src/advtime.c @@ -86,7 +86,15 @@ frame_average(struct video_frame *frame) static void usage(void) { - fprintf(stderr, "advtime [-a] [-d] FILE\n"); + fprintf(stderr, + "advtime [-adfs] FILE\n" + "\n" + "OPTIONS\n" + "\t-a\tcalculate average color of a frame\n" + "\t-d\tcalculate difference betweenprev and next frame\n" + "\t-f\tprint frame number\n" + "\t-s\tsave frame from detected cut\n"); + exit(EXIT_FAILURE); } @@ -110,7 +118,7 @@ main(int argc, char **argv) diff_flag = 1; break; case 'f': - diff_flag = 1; + frame_flag = 1; break; case 's': showcut_flag = 1; |