chiark / gitweb /
*** empty log message ***
[sympathy.git] / apps / usage.c
index b0893d2fb1a9bf2be7caafd75663152a0300290d..598ccb733411e0bd9277738b04d96e8c5fb70335 100644 (file)
@@ -10,6 +10,21 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.12  2008/02/27 09:42:21  james
+ * *** empty log message ***
+ *
+ * Revision 1.11  2008/02/27 01:31:38  james
+ * *** empty log message ***
+ *
+ * Revision 1.10  2008/02/27 01:31:14  james
+ * *** empty log message ***
+ *
+ * Revision 1.9  2008/02/24 00:43:55  james
+ * *** empty log message ***
+ *
+ * Revision 1.8  2008/02/24 00:42:53  james
+ * *** empty log message ***
+ *
  * Revision 1.7  2008/02/23 11:48:52  james
  * *** empty log message ***
  *
@@ -41,14 +56,15 @@ usage (void)
 {
 
   fprintf (stderr, "Usage:\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] [-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 -t      [-K] [-d serialdev|-p] [-b baud] [-f] [-L log] [-u]\n"
+           "sympathy -s      [-K] [-d serialdev|-p] [-b baud] [-f] [-L log] [-u] [-k skt]\n"
+           "                      [-n hlines] [-w width] [-F]\n"
+           "sympathy [-s -c] [-K] [-d serialdev|-p] [-b baud] [-f] [-L log] [-u] [-k skt]\n"
+           "                      [-n hlines] [-w width]\n"
+           "sympathy -c      [-H] [-u] -k skt\n"
+           "sympathy -r id   [-H] [-u]\n"
            "sympathy {-l|-ls}\n"
+           "sympathy -v\n"
            "sympathy -h\n"
            "\n"
            "Main mode:\n"
@@ -63,6 +79,8 @@ usage (void)
            "   -r id  client mode: connect to server mode process on socket\n"
            "             ~/.sympathy/id\n"
            "   -l or -ls  list active sockets in ~/.sympathy\n"
+          "   -v   show version\n"
+          "   -h   show help\n"
            "\n"
            "Options:\n"
            "   -K  lock the serial device. By default sympathy checks that no\n"
@@ -83,9 +101,12 @@ usage (void)
            "   -F  do not detach, run the server in the foreground\n"
            "   -H  instead of connecting the user's terminal to the session\n"
            "         emit HTML of the current state of the screen on stdout\n"
-           "   -L  log activity on the device to the file log\n"
+           "   -L log  log activity on the device to the file log\n"
            "   -n  hlines  the number of lines of history to store in the\n"
-           "                 server, that are replayed on connexion\n");
+           "                 server, that are replayed on connexion\n"
+           "   -u  don't emit utf-8 try to use ISO-2202 to the local terminal\n"
+           "   -w width  start session with a screen of width width<=132\n");
+
 
   exit (1);
 }