10Jan/122
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
XMOS Community
April 15th, 2012 - 17:37
You want:
rm — –help
Cheers
April 15th, 2012 - 17:38
Should have shown you how to test it as well.
touch — –help
ls
rm — –help
ls