X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/281d81db1a7cc4e9da9b257603e69ab0ddd80dc4..f369b8af542c644eed69bd3bf26d77dfc177c33e:/mr?ds=sidebyside diff --git a/mr b/mr index fd0ba15..175c5f1 100755 --- a/mr +++ b/mr @@ -70,7 +70,7 @@ Show a diff of uncommitted changes. Show the commit log. -=item list +=item list (or ls) List the repositories that mr will act on. @@ -100,7 +100,7 @@ the current working directory. =item -c mrconfig -Use the specified mrconfig file, instead of looking for on in your home +Use the specified mrconfig file, instead of looking for one in your home directory. =item -v @@ -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); @@ -461,6 +466,7 @@ __DATA__ [alias] co = checkout ci = commit + ls = list [default] lib = \ error() { \