diff options
author | Johannes Winkelmann <jw@smts.ch> | 2010-05-24 16:04:54 +0200 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2010-05-24 16:04:54 +0200 |
commit | fb6dd8f99fea2d11f0b11c1714025fd6f829a988 (patch) | |
tree | 92383f165d180e7a51bfb13e753df7deba787e57 | |
parent | f3fc62cda62b74d3082ff8195cc2d2e142dcb9f8 (diff) | |
download | prt-get-fb6dd8f99fea2d11f0b11c1714025fd6f829a988.tar.gz prt-get-fb6dd8f99fea2d11f0b11c1714025fd6f829a988.tar.xz |
fix printf when using regex
-rw-r--r-- | src/prtget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prtget.cpp b/src/prtget.cpp index 6ed9379..3d9863f 100644 --- a/src/prtget.cpp +++ b/src/prtget.cpp @@ -1238,7 +1238,7 @@ void PrtGet::printf() assertExactArgCount(1); initRepo(); - string filter = "*"; + string filter = m_parser->useRegex() ? "." : "*"; if ( m_parser->hasFilter() ) { filter = m_parser->filter(); } |