From 7c8a9b2ae5884cc8a15e31954768befdfd9442fe Mon Sep 17 00:00:00 2001 From: Johannes Winkelmann Date: Tue, 18 May 2010 21:14:31 +0200 Subject: [PATCH] print out Pkgmk settings in dumpconfig --- src/prtget.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/prtget.cpp b/src/prtget.cpp index 8dc94d9..6ed9379 100644 --- a/src/prtget.cpp +++ b/src/prtget.cpp @@ -2138,6 +2138,22 @@ void PrtGet::dumpConfig() cout.fill( ' ' ); cout << " Append log: " <<(m_config->appendLog() ? "yes" : "no" ) << endl; + cout << endl; + cout.setf( ios::left, ios::adjustfield ); + cout.width( 20 ); + cout.fill( ' ' ); + cout << "Pkgmk settings: " << m_config->logFilePattern() << endl; + cout.setf( ios::left, ios::adjustfield ); + cout.width( 20 ); + cout.fill( ' ' ); + cout << " Package dir: " << InstallTransaction::getPkgmkPackageDir() + << endl; + + cout.setf( ios::left, ios::adjustfield ); + cout.width( 20 ); + cout.fill( ' ' ); + cout << " Compression mode: " + << InstallTransaction::getPkgmkCompressionMode() << endl; cout << endl;