Commits

Evan Gates  committed 00d923c

update man page to reflect change of -t to -c

  • Participants
  • Parent commits 3d3a994

Comments (0)

Files changed (2)

 and ii, but may come in handy elsewhere.
 .SH SYNOPSIS
 .B pcw
-.RB [ \-t
-.IR terminal ]
+.RB [ \-c
+.IR command ]
 .RB [ \-v ]
 .IR dir
 
 .IR " outfile"
 the file to write user input to
 .TP
-.BI \-t " terminal"
-the terminal program to use (defaults to urxvt) (assumes -title and -e flags)
+.BI \-c " command"
+the command to run for each new channel, using %p %c %o and %i, defaults to "urxvt -title %p -e srw -p %c cw %o %i" which gives you something along the lines of, "urxvt -title irc/irc.oftc.net/#suckless -e srw -p #suckless> irc/irc.oftc.net/#suckless/out irc/irc.oftc.net/#suckless/in
 .TP
 .BI \-v
 prints version information and exits
 
 void usage(void)
 {
-	printf("Usage: pcw [-t terminal] [-v] dir\n");
+	printf("Usage: pcw [-c command] [-v] dir\n");
 	exit(1);
 }