summaryrefslogtreecommitdiff
path: root/src/prtget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/prtget.cpp')
-rw-r--r--src/prtget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prtget.cpp b/src/prtget.cpp
index 89cea8d..8d983c8 100644
--- a/src/prtget.cpp
+++ b/src/prtget.cpp
@@ -524,7 +524,8 @@ void PrtGet::listInstalled()
{
assertMaxArgCount(1);
- string arg = "*";
+ string arg = m_useRegex ? ".*" : "*";
+
if ( m_parser->otherArgs().size() == 1 ) {
arg = *(m_parser->otherArgs().begin());
}

Generated by cgit