diff options
Diffstat (limited to 'src/prtget.cpp')
-rw-r--r-- | src/prtget.cpp | 3 |
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()); } |