prt-get: nicer output for dependent --tree
git-svn-id: https://crux.nu/svn/tools/prt-get/trunk@1235 0b5ae1c7-2405-0410-a7fc-ba219f786e1e
This commit is contained in:
parent
ab768a4a88
commit
befaa350b1
@ -1250,7 +1250,13 @@ void PrtGet::printDependent()
|
||||
|
||||
initRepo();
|
||||
string arg = *(m_parser->otherArgs().begin());
|
||||
|
||||
if (m_parser) {
|
||||
cout << arg << endl;
|
||||
printDependent(arg, 2);
|
||||
} else {
|
||||
printDependent(arg, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void PrtGet::printDependent(const string& dep, int level)
|
||||
|
Loading…
x
Reference in New Issue
Block a user