]> rtime.felk.cvut.cz Git - sojka/sterm.git/commitdiff
Document -v option (verbose)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 12 Jan 2017 16:36:46 +0000 (17:36 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 12 Jan 2017 16:36:46 +0000 (17:36 +0100)
sterm.c
sterm.man

diff --git a/sterm.c b/sterm.c
index c5fc0aa0d6a5d379412d8e8e90475ff7cb4a4dd6..b375caf1d624fe4acf8ddc7805652b15f7edf064 100644 (file)
--- a/sterm.c
+++ b/sterm.c
@@ -1,7 +1,7 @@
 /*
  * Simple serial terminal
  *
- * Copyright 2014, 2015, 2016 Michal Sojka <sojkam1@fel.cvut.cz>
+ * Copyright 2014, 2015, 2016, 2017 Michal Sojka <sojkam1@fel.cvut.cz>
  *
  * This program is free software: you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -132,6 +132,7 @@ void usage(const char* argv0)
                "  -n        do not switch the device to raw mode\n"
                "  -r[PULSE] make pulse on RTS\n"
                "  -s <baudrate>\n"
+               "  -v        verbose mode\n"
                "\n"
                "PULSE is a number specifying the pulse. Absolute value defines the\n"
                "length of the pulse in milliseconds, sign determines the polarity of\n"
index 3a77f2a285ac9f6fe83d4877557dfe32f8c193e6..715faaf50f1fbdf179b41e9bf6bbdda09565d447 100644 (file)
--- a/sterm.man
+++ b/sterm.man
@@ -43,6 +43,9 @@ Set serial like baudrate to the given value. Here are few common
 values: 4800, 9600, 19200, 115200. For full list of supported
 baudrates see source files or test what is acceptable.
 
+.TP
+\fB\-v\fR
+Be verbose.
 .SH PULSE
 
 Options \fB\-d\fR and \fB\-r\fR take an optional argument PULSE that