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-12-21 22:47:34 +00:00
2009-12-24 18:41:14 +00:00
2009-12-24 18:41:14 +00:00
2010-12-21 22:47:34 +00:00
2011-01-09 21:07:30 +00:00
2010-03-06 16:57:53 +00:00
2009-12-24 18:41:14 +00:00
2010-12-21 22:47:34 +00:00
2010-12-21 22:47:34 +00:00
2010-06-02 19:16:58 +00:00
2009-12-24 18:41:14 +00:00
2006-04-16 11:54:01 +00:00
2011-01-15 21:09:00 +00:00