Skip to content

Commit 851eed5

Browse files
authored
released at 0.3.1
1 parent 5f8bab4 commit 851eed5

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

README

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Usage
1919
Consult `man kirc` for a full list and explanation of available arguments.
2020

2121
kirc [-s hostname] [-p port] [-c channels] [-n nickname] [-r realname]
22-
[-u username] [-k password] [-a token] [-x command] [-o logfile]
23-
[-e|v|V]
22+
[-u username] [-k password] [-a token] [-o logfile] [-e|x|v|V]
2423

2524
Command Aliases
2625
---------------
@@ -29,8 +28,7 @@ Command Aliases
2928
@<channel|nick> <message> send PRIVMSG to a specified channel or nick.
3029
@@<channel|nick> <message> send CTCP ACTION message to a specified channel or
3130
nick (if no channel or nick is specified, the
32-
message will be sent to the default channel.
33-
the default channel).
31+
message will be sent to the default channel).
3432
/<command> send command to the IRC server (see RFC 2812).
3533
/#<channel> assign new default message channel.
3634

kirc.1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ kirc \- KISS for IRC
1515
.SH DESCRIPTION
1616
.B kirc
1717
is an extremely fast and simple IRC client designed with portability in mind.
18-
This client reads from stdin and prints to stdout, so all traffic can
18+
This client reads from STDIN and prints to STDOUT, so all traffic can
1919
multiplexed and text parsed or modified using external commands. All highlighted
2020
text and color can be controlled with ANSI escape sequences.
2121
.SH OPTIONS
@@ -41,15 +41,16 @@ Specifies the USER connection username
4141
.BI \-k " pass"
4242
Specifies the PASS connection password
4343
.TP
44-
.BI \-x " command"
45-
Specifies additional commands to send to the host after initial connection.
46-
.TP
4744
.BI \-a " auth"
4845
Specifies SASL PLAIN mechanism authentication token
4946
.TP
5047
.BI \-e
5148
Specifies SASL EXTERNAL mechanism
5249
.TP
50+
.BI \-x
51+
Reads from STDIN and passes each line (delimited by "\\n") as a command to the IRC
52+
server after the initial connection.
53+
.TP
5354
.BI \-v
5455
Prints the version information to stderr, then exits
5556
.TP

kirc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <sys/ioctl.h>
1919

2020
#define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING"
21-
#define VERSION "0.3.0"
21+
#define VERSION "0.3.1"
2222
#define MSG_MAX 512
2323
#define CHA_MAX 200
2424
#define NIC_MAX 26
@@ -916,12 +916,12 @@ static void handleUserInput(struct State *l) {
916916

917917
static void usage(void) {
918918
fputs("kirc [-s host] [-p port] [-c channel] [-n nick] [-r realname] \
919-
[-u username] [-k password] [-a token] [-x command] [-o path] [-e] [-v] [-V]\n", stderr);
919+
[-u username] [-k password] [-a token] [-o path] [-e] [-x] [-v] [-V]\n", stderr);
920920
exit(2);
921921
}
922922

923923
static void version(void) {
924-
fputs("kirc-" VERSION " Copyright © 2021 Michael Czigler, MIT License\n",
924+
fputs("kirc-" VERSION " Copyright © 2022 Michael Czigler, MIT License\n",
925925
stdout);
926926
exit(0);
927927
}

0 commit comments

Comments
 (0)