diff options
author | Johannes Winkelmann <jw@smts.ch> | 2010-05-18 21:14:31 +0200 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2010-05-18 21:14:31 +0200 |
commit | 7c8a9b2ae5884cc8a15e31954768befdfd9442fe (patch) | |
tree | 5ba9126d0d85a7f7e0ed34ecc8f59c4357f3eaef | |
parent | 418ed7c6b448ebbb74bc25669afcda72c2b1cf3c (diff) | |
download | prt-get-7c8a9b2ae5884cc8a15e31954768befdfd9442fe.tar.gz prt-get-7c8a9b2ae5884cc8a15e31954768befdfd9442fe.tar.xz |
print out Pkgmk settings in dumpconfig
-rw-r--r-- | src/prtget.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
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; |