diff options
author | obrien <obrien@FreeBSD.org> | 1999-11-21 01:09:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-11-21 01:09:03 +0000 |
commit | 7daab43137dddb6a06e4cda4d8b3873f9c6f675b (patch) | |
tree | cb2789f5e7c997133c80a534e81faed40032eca1 /gnu | |
parent | e237a6b4a1cb1b6abc70f62274b2e148792501c0 (diff) | |
download | FreeBSD-src-7daab43137dddb6a06e4cda4d8b3873f9c6f675b.zip FreeBSD-src-7daab43137dddb6a06e4cda4d8b3873f9c6f675b.tar.gz |
Alias -R to -r for backward compatibility.
Submitted by: ru
Requested by: wosch
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/grep/grep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/grep/grep.c b/gnu/usr.bin/grep/grep.c index fdbdc95..cf03988 100644 --- a/gnu/usr.bin/grep/grep.c +++ b/gnu/usr.bin/grep/grep.c @@ -1122,9 +1122,9 @@ main (argc, argv) #if O_BINARY "0123456789A:B:C::EFGHVX:abcd:e:f:hiLlnqrsvwxyUu", #elif HAVE_LIBZ > 0 - "0123456789A:B:C::EFGHVX:Zabcd:e:f:hiLlnqrsvwxy", + "0123456789A:B:C::EFGHRVX:Zabcd:e:f:hiLlnqrsvwxy", #else - "0123456789A:B:C::EFGHVX:abcd:e:f:hiLlnqrsvwxy", + "0123456789A:B:C::EFGHRVX:abcd:e:f:hiLlnqrsvwxy", #endif long_options, NULL)) != EOF) switch (opt) @@ -1280,6 +1280,7 @@ main (argc, argv) done_on_match = 1; out_quiet = 1; break; + case 'R': case 'r': directories = RECURSE_DIRECTORIES; break; |