Maxim Sobolev 41623b2d75 Don't try to decode old-style options if the argv[1] begins with `-' and the
second character represents some option taking an argument. This fixes
problem when ps(1) is invoked for examply as follows:

$ ps -Ufoobar1234

the above example results in option string being interpreted as
-U foobarp1234 - note extra `p'.

Reported by:	Vladimir Sotnikov <vovan@kyivstar.net>
MFC after:	2 weeks
2002-06-20 14:55:53 +00:00
..
2002-04-28 13:54:45 +00:00
2002-04-16 20:08:06 +00:00
2002-03-04 05:30:04 +00:00
2002-05-29 15:18:35 +00:00
2002-04-16 20:08:06 +00:00
2002-05-29 18:52:02 +00:00
2002-04-16 20:08:06 +00:00
2002-05-16 03:51:38 +00:00
2002-02-02 06:48:10 +00:00
2002-02-19 02:36:35 +00:00
2002-06-20 05:21:43 +00:00
2002-02-02 06:50:57 +00:00
2002-05-10 01:48:15 +00:00