Page 1 of 1

Command line options list

Posted: 15 Jul 2005 02:46
by zorg47
I'm running VLC 0.8.2 on Win2k. How do I read the list of command line options? When I type "vlc --longhelp --advanced", it opens another console window and scrolls the text by too fast to read, and there's no scroll bar. I tried piping the output to a file, but the text isn't going to stdout.

Posted: 15 Jul 2005 06:02
by zcot
what a shame, eh? :lol:

if you can force vlc to use ::stdout instead of ::stderr for its help output then "piping the output to a file" will work.

programmer's using anything but intf_Msg(...) for the help output should be aware of this. Any of the other following methods will not be redirected to file output from the Win32 command line:
intf_ErrMsg(..)
intf_WarnMsg(..)
intf_DbgMsg(..)
intf_ErrMsgImm(..), intf_WarnMsgImm(..), intf_DbgMsgImm(..)
intf_WarnHexDump(..)
intf_FlushMsg(..)

-additionally intf_MsgImm(..) will also work if it does, in fact, use stderr.

check here for an outdated list:
http://wiki.videolan.org/index.php/VLC_ ... -line_help