Jilles Tjoelker a043cc4c68 sh: Fix some things about -- in trap:
* Make 'trap --' do the same as 'trap' instead of nothing.
* Make '--' stop option processing (note that '-' action is not an option).

Side effect: The error message for an unknown option is different.
2011-01-15 21:09:00 +00:00
..
2010-06-02 09:34:41 +00:00
2010-12-21 22:47:34 +00:00
2010-07-31 21:09:49 +00:00
2010-07-12 01:58:46 +00:00
2010-10-31 19:16:54 +00:00
2011-01-15 21:09:00 +00:00
2010-09-13 01:29:51 +00:00