From 9cc319d2589c13bbde96640c10ca7005abb336fd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Oct 2007 14:29:28 -0400 Subject: [PATCH] improve output for leaf dirs --- mr | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mr b/mr index fd0ba15..ab93c7d 100755 --- a/mr +++ b/mr @@ -314,7 +314,12 @@ sub action { push @skipped, $dir; } else { - print "mr $action: $dir\n"; + if (! $nochdir) { + print "mr $action: $dir\n"; + } + else { + print "mr $action: $dir (in subdir $directory)\n"; + } my $command="set -e; ".$lib. "my_action(){ $config{$topdir}{$subdir}{$action} ; }; my_action ". join(" ", map { s/\//\/\//g; s/"/\"/g; '"'.$_.'"' } @ARGV); -- 2.39.5