raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=f15ebcae4c545c2415da34f971f58cbc119e1cc2

commit f15ebcae4c545c2415da34f971f58cbc119e1cc2
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Aug 23 19:33:45 2014 +0900

    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"))

-- 


Reply via email to