From f15ebcae4c545c2415da34f971f58cbc119e1cc2 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 23 Aug 2014 19:33:45 +0900 Subject: [PATCH] rage - add sub option help to -h --- src/bin/main.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 095f204..83f61dd 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -43,12 +43,20 @@ elm_main(int argc, char **argv) (!strcmp(argv[i], "--help"))) { printf("Usage: rage [OPTIONS] [file1] [file2] [...]\n" - " Where OPTIONS can ben" + " Where OPTIONS can be\n" + " -h | -help | --help\n" + " This help\n" + "\n" " -e ENGINE\n" " ENGINE is one of gstreamer1, xine or vlc\n" " The default is gstreamer1\n" - " -h | -help | --help\n" - " This help\n"); + "\n" + " -sub SUBTITLE_FILE\n" + " This sets the subtitle file to use for the\n" + " previously given filename such as:\n" + "\n" + " rage file.mp4 -sub subs.srt file2.mp4 ...\n" + ); exit(0); } else if (!strcmp(argv[i], "-e"))