]> git.99rst.org Git - irssi-scripts.irssi.org.git/commit
Rework command line parser
authormartin f. krafft <redacted>
Fri, 10 Sep 2021 23:17:59 +0000 (01:17 +0200)
committermartin f. krafft <redacted>
Fri, 17 Sep 2021 21:41:58 +0000 (23:41 +0200)
commit872bd0db7e1494561e44ffe740465223a605a888
treee2163673d6cb902391f4658e5d4719d1f6842594
parentf3a5b952243dfdb12fd06ac3d208280d99bef321
Rework command line parser

Provide a unified way to parse Irssi command lines for all our commands.
In theory, this means that arguments like rule position will be parsed
also for e.g. /ctrlact query, where this makes no sense, but so what. If
there's a problem, we can react to it in the command handler.

Signed-off-by: martin f. krafft <redacted>
scripts/ctrlact.pl
git clone https://git.99rst.org/PROJECT