From: Tim Otten Date: Tue, 12 Mar 2013 11:38:18 +0000 (-0400) Subject: givi - Print list of known repositories on help screen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ab79d84c044931aef2823874c52f453bcc53bec3;p=civicrm-core.git givi - Print list of known repositories on help screen --- diff --git a/bin/givi b/bin/givi index 1f8dec241e..71fba56de6 100755 --- a/bin/givi +++ b/bin/givi @@ -217,6 +217,10 @@ class Givi { echo " --joomla=X: Specify the branch to use on the joomla repository\n"; echo " --wordpress=X: Specify the branch to use on the wordpress repository\n"; echo " --rebase: Perform a rebase before starting work\n"; + echo "Known repositories:\n"; + foreach ($this->repos as $repo => $relPath) { + printf(" %-12s: %s\n", $repo, realpath($this->civiRoot . DIRECTORY_SEPARATOR . $relPath)); + } echo "When using 'begin' or 'resume' with a remote base-branch, most repositories\n"; echo "will have a detached HEAD. Only repos with an explicit branch will be real,\n"; echo "local branches.\n";