Open irssibot opened 14 years ago
I disagree. Compare it to how it works in a shell: typing "cat -foo" to cat a file called "-foo" won't work either.
But tab completion for "/topic
Maybe we could adopt the convention that a "-" on its own should mean that any following arguments should not be seen as options...
It is true that in cat it does not work either (at least not without "--", which is of course similar to use the channel name in irssi). On the other hand as far as I know Weechat supports "-" too.
When using topic like this:
/topic -17d
I only get "-!- Irssi: Unknown option: 17d".
I can work around this by using the channel name before the actual topic, but for convenience it would be nicer to just allow "-" as first character in a topic too. Of course "-delete" would be an exception here :-).