File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 19
19
Consult `man kirc` for a full list and explanation of available arguments.
20
20
21
21
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]
24
23
25
24
Command Aliases
26
25
---------------
@@ -29,8 +28,7 @@ Command Aliases
29
28
@<channel|nick> <message> send PRIVMSG to a specified channel or nick.
30
29
@@<channel|nick> <message> send CTCP ACTION message to a specified channel or
31
30
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).
34
32
/<command> send command to the IRC server (see RFC 2812).
35
33
/#<channel> assign new default message channel.
36
34
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ kirc \- KISS for IRC
15
15
.SH DESCRIPTION
16
16
.B kirc
17
17
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
19
19
multiplexed and text parsed or modified using external commands. All highlighted
20
20
text and color can be controlled with ANSI escape sequences.
21
21
.SH OPTIONS
@@ -41,15 +41,16 @@ Specifies the USER connection username
41
41
.BI \- k " pass"
42
42
Specifies the PASS connection password
43
43
.TP
44
- .BI \- x " command"
45
- Specifies additional commands to send to the host after initial connection.
46
- .TP
47
44
.BI \- a " auth"
48
45
Specifies SASL PLAIN mechanism authentication token
49
46
.TP
50
47
.BI \- e
51
48
Specifies SASL EXTERNAL mechanism
52
49
.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
53
54
.BI \- v
54
55
Prints the version information to stderr, then exits
55
56
.TP
Original file line number Diff line number Diff line change 18
18
#include <sys/ioctl.h>
19
19
20
20
#define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING"
21
- #define VERSION "0.3.0 "
21
+ #define VERSION "0.3.1 "
22
22
#define MSG_MAX 512
23
23
#define CHA_MAX 200
24
24
#define NIC_MAX 26
@@ -916,12 +916,12 @@ static void handleUserInput(struct State *l) {
916
916
917
917
static void usage (void ) {
918
918
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 );
920
920
exit (2 );
921
921
}
922
922
923
923
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" ,
925
925
stdout );
926
926
exit (0 );
927
927
}
You can’t perform that action at this time.
0 commit comments