(Dereference_symlink) [DEREF_COMMAND_LINE_SYMLINK_TO_DIR]: New member.
authorJim Meyering <jim@meyering.net>
Sat, 18 Jan 2003 18:36:13 +0000 (18:36 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 18 Jan 2003 18:36:13 +0000 (18:36 +0000)
commitcdb4bba0e624afbff342a8f81df782c0db757fe1
tree5f99430e331a6ff6eae61c5fdf95a6c199408661
parentbe33a434cbcc27cc94d6bf311d84dd941a8b1c0f
(Dereference_symlink) [DEREF_COMMAND_LINE_SYMLINK_TO_DIR]: New member.
(enum) [DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION]: New member.
(long_options): Add option --dereference-command-line-symlink-to-dir.
(main): Make DEREF_COMMAND_LINE_SYMLINK_TO_DIR be the default,
rather than DEREF_COMMAND_LINE_ARGUMENTS, when none of the
-d, -F, -l options is specified.
(decode_switches): Handle --dereference-command-line-symlink-to-dir.
(gobble_file): Honor DEREF_COMMAND_LINE_SYMLINK_TO_DIR.
Change --dereference-command-line (-H) to dereference *all*
command line arguments, including broken symlinks.
src/ls.c