Silly Science Electronics, Programming and Hacking About

10Jan/123

Stupid things you should not do #1

> python generator.py --help
Opening --help
Outputting start code...
Outputting template...
Writing out finish...
Done

Do'h!!

> ls
--help generator.py

> rm --help
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file

> rm "--help"
rm: illegal option -- -
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file

Gah! and hooray for GUIs

Comments (3) Trackbacks (0)
  1. You want:

    rm — –help

    Cheers

  2. Should have shown you how to test it as well.

    touch — –help
    ls
    rm — –help
    ls

  3. I got this web page from my pal who shared with me on the topic of this web page and at the moment
    this time I am browsing this web page and reading very informative posts at this time.


Leave a comment

No trackbacks yet.