aboutsummaryrefslogtreecommitdiffstats
path: root/apps/usage.c
diff options
context:
space:
mode:
authorjames <>2008-02-20 17:18:33 +0000
committerjames <>2008-02-20 17:18:33 +0000
commit2917a1bd20f9b0794f918c5689fd8d083429c850 (patch)
tree00203cccc369ede42dad8a3225910fd79c61eaf7 /apps/usage.c
parent2799637b71ab47881574f89b7979f07bb47e2f66 (diff)
downloadsympathy-2917a1bd20f9b0794f918c5689fd8d083429c850.tar.gz
sympathy-2917a1bd20f9b0794f918c5689fd8d083429c850.tar.bz2
sympathy-2917a1bd20f9b0794f918c5689fd8d083429c850.zip
*** empty log message ***
Diffstat (limited to 'apps/usage.c')
-rw-r--r--apps/usage.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/usage.c b/apps/usage.c
index f86fa20..0ef2667 100644
--- a/apps/usage.c
+++ b/apps/usage.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.4 2008/02/20 17:18:33 james
+ * *** empty log message ***
+ *
* Revision 1.3 2008/02/20 02:11:35 james
* *** empty log message ***
*
@@ -27,13 +30,14 @@ usage (void)
{
fprintf (stderr, "Usage:\n"
- "sympathy -t [-l] [-d serialdev|-p] [-b baud] [-f] [-L log]\n"
- "sympathy -s [-l] [-d serialdev|-p] [-b baud] [-f] [-L log] [-F] [-k skt]\n"
+ "sympathy -t [-K] [-d serialdev|-p] [-b baud] [-f] [-L log]\n"
+ "sympathy -s [-K] [-d serialdev|-p] [-b baud] [-f] [-L log] [-F] [-k skt]\n"
" [-n hlines]\n"
- "sympathy [-s -c] [-l] [-d serialdev|-p] [-b baud] [-f] [-L log] [-k skt]\n"
+ "sympathy [-s -c] [-K] [-d serialdev|-p] [-b baud] [-f] [-L log] [-k skt]\n"
" [-n hlines]\n"
"sympathy -c [-H] -k skt\n"
"sympathy -r id [-H]\n"
+ "sympathy {-l|-ls}\n"
"sympathy -h\n"
"\n"
"Main mode:\n"
@@ -47,9 +51,10 @@ usage (void)
" -c client mode: connect to server mode process\n"
" -r id client mode: connect to server mode process on socket\n"
" ~/.sympathy/id\n"
+ " -l or -ls list active sockets in ~/.sympathy\n"
"\n"
"Options:\n"
- " -l lock the serial device. By default sympathy checks that no\n"
+ " -K lock the serial device. By default sympathy checks that no\n"
" other process has create a lock file, and temporarily ceases\n"
" to access the serial port if it spots one. With this option\n"
" sympathy creates a lock file and prevents other programs\n"