(long_opts): Use `strip-trailing-slashes',
authorJim Meyering <jim@meyering.net>
Sat, 3 Feb 2001 16:50:34 +0000 (16:50 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 3 Feb 2001 16:50:34 +0000 (16:50 +0000)
per the documetation, not `strip-trailing-slash'.

src/cp.c

index 81d5a2d..d98dfd7 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -124,7 +124,7 @@ static struct option const long_opts[] =
   {"preserve", no_argument, NULL, 'p'},
   {"recursive", no_argument, NULL, 'R'},
   {"remove-destination", no_argument, NULL, UNLINK_DEST_BEFORE_OPENING},
-  {"strip-trailing-slash", no_argument, NULL, STRIP_TRAILING_SLASHES_OPTION},
+  {"strip-trailing-slashes", no_argument, NULL, STRIP_TRAILING_SLASHES_OPTION},
   {"suffix", required_argument, NULL, 'S'},
   {"symbolic-link", no_argument, NULL, 's'},
   {"target-directory", required_argument, NULL, TARGET_DIRECTORY_OPTION},