[vlc-devel] Explain how to open a file starting with '-' from the command line
kvilhaugsvik at gmail.com
Sun Feb 22 21:04:59 CET 2009
> From the POSIX Utility Syntax Guidelines (POSIX.2008 §12.2), and consistent
> with the IEEE 1003.1-2001 standard:
> | Guideline 10:
> | The argument -- should be accepted as a delimiter indicating the end of
> | options. Any following arguments should be treated as operands, even if
> | they begin with the '-' character. The -- argument should not be used as
> | an option or as an operand.
> As an example:
> # vlc -v --aout alsa -- -filename-starting-with-a-dash
I have now updated it to recommend the use of -- instead.
More information about the vlc-devel