The -- Flag

Imagine you need to create the file -o but observe the following.

$ touch -o
touch: invalid option -- o
Try 'touch --help' for more information.
$ _

Most programs can be forced to stop interpreting command line arguments as options:

$ touch -- -o
$ _
Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.