summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Winkelmann <jw@smts.ch>2010-05-24 16:04:54 +0200
committerJohannes Winkelmann <jw@smts.ch>2010-05-24 16:04:54 +0200
commitfb6dd8f99fea2d11f0b11c1714025fd6f829a988 (patch)
tree92383f165d180e7a51bfb13e753df7deba787e57 /src
parentf3fc62cda62b74d3082ff8195cc2d2e142dcb9f8 (diff)
downloadprt-get-fb6dd8f99fea2d11f0b11c1714025fd6f829a988.tar.gz
prt-get-fb6dd8f99fea2d11f0b11c1714025fd6f829a988.tar.xz
fix printf when using regex
Diffstat (limited to 'src')
-rw-r--r--src/prtget.cpp2
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();
}

Generated by cgit