rage - add sub option help to -h

This commit is contained in:
Carsten Haitzler 2014-08-23 19:33:45 +09:00
parent c2472804f9
commit f15ebcae4c
1 changed files with 11 additions and 3 deletions

View File

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