From 7daab43137dddb6a06e4cda4d8b3873f9c6f675b Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 21 Nov 1999 01:09:03 +0000 Subject: Alias -R to -r for backward compatibility. Submitted by: ru Requested by: wosch --- gnu/usr.bin/grep/grep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/grep') 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; -- cgit v1.1