Fix a bug: ls --file-type worked like --indicator-style=slash,
authorJim Meyering <jim@meyering.net>
Thu, 20 Jul 2006 10:20:23 +0000 (10:20 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 20 Jul 2006 10:20:23 +0000 (10:20 +0000)
commit3ddfde68978041476ed0d0768b42060d160b83b2
treee3b86c0f996cfba2dc3907a1f706a1b21f17a2c6
parentaa91e4fe348cf1d90655b2dda7868279166ab0c8
Fix a bug: ls --file-type worked like --indicator-style=slash,
rather than like --indicator-style=file-type.

(FILE_TYPE_INDICATOR_OPTION): New enum member.
(long_options): Map "file-type" to FILE_TYPE_INDICATOR_OPTION,
not to 'p'.
(decode_switches): Handle new case: FILE_TYPE_INDICATOR_OPTION.
src/ls.c