New option: --strip-trailing-slashes.
authorJim Meyering <jim@meyering.net>
Sun, 16 Apr 2000 13:51:22 +0000 (13:51 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 16 Apr 2000 13:51:22 +0000 (13:51 +0000)
commitc559eefb84a385bec79c96ba13647f346acf2c03
tree1d13f79350b414723d281d25f80334bf61e00bb4
parent517e8a6bc2220d0df3889daad90c19729398009b
New option: --strip-trailing-slashes.
(enum) [STRIP_TRAILING_SLASHES_OPTION]: New member.
(remove_trailing_slashes): New global.
(long_opts): New getopt spec.
(usage): Describe.
(do_copy): Strip trailing slashes on SOURCE names only if the new
option has been specified.
(main): New case.
src/cp.c