From 838df819fd5c4bcd00a465777b5e4f0dfc54db47 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Tue, 30 Sep 2014 16:17:07 +0200 Subject: [PATCH] Updated MAN and README page --- README | 4 ++-- man/gotty.1 | 10 +++++----- src/options.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README b/README index bc0b5d2..620c58b 100644 --- a/README +++ b/README @@ -4,8 +4,8 @@ 1. Introduction Go TTY or "gotty" is a really simple TTY terminal application which - features a very simple commandline interface to easily connect to TTY - devices for basic input/output. + features a simple commandline interface to easily connect to TTY devices + for basic input/output. Go TTY was created because the author needed a simple no-nonsense TTY terminal application to go do quick debugging. diff --git a/man/gotty.1 b/man/gotty.1 index f1fddfe..b271120 100644 --- a/man/gotty.1 +++ b/man/gotty.1 @@ -1,4 +1,4 @@ -.TH "gotty" "1" "27 September 2014" +.TH "gotty" "1" "30 September 2014" .SH "NAME" Go TTY \- The really simple TTY terminal application @@ -6,15 +6,15 @@ Go TTY \- The really simple TTY terminal application .SH "SYNOPSIS" .PP .B gotty -[] +[] .SH "DESCRIPTION" .PP .B Go TTY or .B gotty -is a really simple TTY terminal application which features a very simple -commandline interface to easily connect to TTY devices for basic input/output. +is a really simple TTY terminal application which features a simple commandline +interface to easily connect to TTY devices for basic input/output. .SH "OPTIONS" @@ -35,7 +35,7 @@ Set flow control (default: none). Set stop bits (default: 1). .TP -.B \-p, \--parity even|odd|none +.B \-p, \--parity odd|even|none Set parity (default: none). .TP diff --git a/src/options.c b/src/options.c index 295b2f9..d1d7289 100644 --- a/src/options.c +++ b/src/options.c @@ -46,7 +46,7 @@ void print_options_help(char *argv[]) printf(" -d, --databits 5|6|7|8 Data bits (default: 8)\n"); printf(" -f, --flow hard|soft|none Flow control (default: none)\n"); printf(" -s, --stopbits 1|2 Stop bits (default: 1)\n"); - printf(" -p, --parity even|odd|none Parity (default: none)\n"); + printf(" -p, --parity odd|even|none Parity (default: none)\n"); printf(" -n, --no-autoconnect Disable automatic connect\n"); printf(" -v, --version Display version\n"); printf(" -h, --help Display help\n");