aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/quarg/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'quarg/main.py')
-rw-r--r--quarg/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/quarg/main.py b/quarg/main.py
index 35518a4..c9a3557 100644
--- a/quarg/main.py
+++ b/quarg/main.py
@@ -25,7 +25,7 @@ cli.add_argument('-N', action='append', dest='network', help='match messages sen
cli.add_argument('-u', action='append', dest='user', help='match messages sent to this quassel user')
cli.add_argument('-t', action=actions.ParseMessageType, dest='msgtype', help='match messages of this message type')
cli.add_argument('-f', action=actions.ParseMessageFlag, dest='msgflag', help='match messages with this flag')
-cli.add_argument('-p', action='append', dest='prefix', help='match nicks with this prefix')
+cli.add_argument('-m', action='append', dest='umode', help='match messages sent by users with this mode')
cli.add_argument('--after', action=actions.ParseDate, metavar='DATE', help='match messages sent after this date')
cli.add_argument('--before', action=actions.ParseDate, metavar='DATE', help='match messages sent before this date')
cli.add_argument('--around', action=actions.ParseAround, metavar='DATE', help='match messages sent within 12 hours of this date')
@@ -67,7 +67,7 @@ def collect_predicates(args):
'msgflag': filters.msgflag,
'msgtype': filters.msgtype,
'buftype': filters.buftype,
- 'prefix': filters.prefix,
+ 'umode': filters.umode,
'joined': filters.joined,
}