From: Sergey Matveev Date: Fri, 4 Mar 2022 10:43:46 +0000 (+0300) Subject: Unify stdin/stdout style usage in documentation X-Git-Tag: v8.7.0^2~4 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=de5015ba21c8f2da0e54d13f1c8600daaaebff91 Unify stdin/stdout style usage in documentation --- diff --git a/doc/cmd/nncp-cfgdir.texi b/doc/cmd/nncp-cfgdir.texi index 853dd10..0750ade 100644 --- a/doc/cmd/nncp-cfgdir.texi +++ b/doc/cmd/nncp-cfgdir.texi @@ -10,4 +10,4 @@ $ nncp-cfgdir [options] -load /path/to/dir > cfg.hjson @option{-dump} option dumps current configuration file to the @ref{Configuration directory, directory layout} at @file{/path/to/dir}. @option{-load} loads it and parses, outputing the resulting Hjson to -stdout. +@code{stdout}. diff --git a/doc/cmd/nncp-hash.texi b/doc/cmd/nncp-hash.texi index afed745..17987e0 100644 --- a/doc/cmd/nncp-hash.texi +++ b/doc/cmd/nncp-hash.texi @@ -6,7 +6,7 @@ $ nncp-hash [-file @dots{}] [-seek X] [-debug] [-progress] @end example -Calculate @ref{MTH} hash of either stdin, or @option{-file} if +Calculate @ref{MTH} hash of either @code{stdin}, or @option{-file} if specified. You can optionally force seeking the file first, reading only part of diff --git a/doc/news.ru.texi b/doc/news.ru.texi index eae883a..2088fc3 100644 --- a/doc/news.ru.texi +++ b/doc/news.ru.texi @@ -345,7 +345,7 @@ NNCP собирается на NetBSD. @item Исправлена работоспособность @command{nncp-file} и @command{nncp-exec} -команд использующих временный файл (stdin и @option{-use-tmp}). +команд использующих временный файл (@code{stdin} и @option{-use-tmp}). @item Исправлен пропадающий плохой код возврата в @command{nncp-exec} команде. diff --git a/doc/news.texi b/doc/news.texi index 884a91e..bc97c7f 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -338,7 +338,7 @@ plain packet type with @command{nncp-toss}, @command{nncp-file} and @item Fixed workability of @command{nncp-file} and @command{nncp-exec} -commands, that use temporary file (stdin and @option{-use-tmp}). +commands, that use temporary file (@code{stdin} and @option{-use-tmp}). @item Fixed disappearing bad return code in @command{nncp-exec} command.