4 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
9 static char rcsid[] = "$Id$";
13 * Revision 1.5 2008/02/20 15:50:14 james
14 * *** empty log message ***
16 * Revision 1.4 2008/02/20 02:11:35 james
17 * *** empty log message ***
19 * Revision 1.3 2008/02/14 02:46:44 james
20 * *** empty log message ***
22 * Revision 1.2 2008/02/14 00:57:58 james
23 * *** empty log message ***
25 * Revision 1.1 2008/02/05 14:25:49 james
26 * *** empty log message ***
34 main (int argc, char *argv[])
38 extern int optind, opterr, optopt;
40 int tflag = 0, cflag = 0, sflag = 0, rflag = 0;
41 int lflag = 0, dflag = 0, bflag = 0, pflag = 0;
46 char *rid, *device_path;
51 while ((c = getopt (argc, argv, "tscr:d:pb:fL:Fk:n:")) != EOF)
69 if (log) moan("only one -L argument is allowed");
70 log=file_log_new(optarg);
71 if (!log) moan("couldn't open %s as a log file",optarg);
81 "sympathy -t [-l] [-d serialdev|-p] [-b baud] [-f] [-L log]\n"
82 "sympathy -s [-l] [-d serialdev|-p] [-b baud] [-f] [-L log] [-F] [-k skt]\n"
84 "sympathy [-s -c] [-l] [-d serialdev|-p] [-b baud] [-f] [-L log] [-k skt]\n"
86 "sympathy -c [-H] -k skt\n" "sympathy -r id [-H]\n" "\n" client ();