rage - add sub option help to -h

v-0.4.0
Carsten Haitzler 8 years ago
parent c2472804f9
commit f15ebcae4c
  1. 14
      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"))

Loading…
Cancel
Save