ndctl, monitor: Fix formatting for --log in the man page
Subsystems (2)
Vishal Verma
maintainerPATCH 1/3 ndctl, monitor: Fix formatting for --log in the man page
Change the --log option to be similar to other options-with-arguments, such as --map.
--- Documentation/ndctl/ndctl-monitor.txt | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-)
Documentation/ndctl/ndctl-monitor.txt +10 -13
@@ -65,20 +65,17 @@ OPTIONS A 'namespaceX.Y' device name, or namespace region plus id tuple 'X.Y'. --l <file | syslog | standard>:: ---log=<file | syslog | standard>:: +-l:: +--log=:: Send log messages to the specified destination. -+ --- -<file>:: - Send log messages to specified <file>. When fopen() is not able - to open <file>, log messages will be forwarded to syslog. -syslog:: - Send messages to syslog. -standard:: - Send messages to standard output. --- -+ + - "<file>": + Send log messages to specified <file>. When fopen() is not able + to open <file>, log messages will be forwarded to syslog. + - "syslog": + Send messages to syslog. + - "standard": + Send messages to standard output. + The default log destination is 'syslog' if "--daemon" is specified, otherwise 'standard'. Note that standard and relative path for <file> will not work if "--daemon" is specified.
Signature · 6 lines
2.14.4 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
Vishal Verma
maintainerPATCH 2/3 ndctl, list: fix the verbosity level formatting in the man page
The docbook->markdown rendering for the list verbosity options ate up the newlines. Fix by forcing it into a bulleted list.
--- Documentation/ndctl/ndctl-list.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Documentation/ndctl/ndctl-list.txt +8 -7
@@ -207,13 +207,14 @@ include::xable-region-options.txt[] multiple times to be even more verbose on the informational and miscellaneous output, and can be used to override omitted flags for showing specific information. + -*-v* -In addition to the enabled namespaces default output, show the numa_node, -raw_uuid, and bad block media errors. + -*-vv* -Everything '-v' provides, plus automatically enable --dimms, --buses, and --regions. + -*-vvv* -Everything '-vv' provides, plus --health, --idle, and --firmware. + - *-v* + In addition to the enabled namespaces default output, show the + numa_node, raw_uuid, and bad block media errors. + + - *-vv* + Everything '-v' provides, plus automatically enable --dimms, + --buses, and --regions. + + - *-vvv* + Everything '-vv' provides, plus --health, --idle, and --firmware. include::human-option.txt[]
Signature · 6 lines
2.14.4 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
Vishal Verma
maintainerPATCH 3/3 ndctl, docs: Use asciidoctor by default
In reply to Vishal VermaThe asciidoc built documentation has several formatting artifacts (e.g. Using asciidoctor for the build fixes this, so switch to it as the default. This can still be disabled during configure using "--disable-asciidoctor"
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -45,7 +45,7 @@ AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"]) AC_ARG_ENABLE([asciidoctor], AS_HELP_STRING([--enable-asciidoctor], [use asciidoctor for documentation build]), - [], enable_asciidoctor=no) + [], enable_asciidoctor=yes) AM_CONDITIONAL([USE_ASCIIDOCTOR], [test "x$enable_asciidoctor" = "xyes"]) if test "x$enable_asciidoctor" = "xyes"; then asciidoc="asciidoctor"
Signature · 6 lines
2.14.4 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
Vishal Verma
maintainerPATCH v2 1/1 ndctl, docs: Use asciidoctor by default
The asciidoc built documentation has several formatting artifacts (e.g. Using asciidoctor for the build fixes this, so switch to it as the default. This can still be disabled during configure using "--disable-asciidoctor"
--- configure.ac | 2 +- ndctl.spec.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
v2: update the build dependency in the spec file
configure.ac +1 -1
@@ -45,7 +45,7 @@ AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"]) AC_ARG_ENABLE([asciidoctor], AS_HELP_STRING([--enable-asciidoctor], [use asciidoctor for documentation build]), - [], enable_asciidoctor=no) + [], enable_asciidoctor=yes) AM_CONDITIONAL([USE_ASCIIDOCTOR], [test "x$enable_asciidoctor" = "xyes"]) if test "x$enable_asciidoctor" = "xyes"; then asciidoc="asciidoctor"
ndctl.spec.in +1 -1
@@ -10,7 +10,7 @@ Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{v Requires: LNAME%{?_isa} = %{version}-%{release} Requires: DAX_LNAME%{?_isa} = %{version}-%{release} BuildRequires: autoconf -BuildRequires: asciidoc +BuildRequires: rubygem-asciidoctor BuildRequires: xmlto BuildRequires: automake BuildRequires: libtool
Signature · 6 lines
2.14.4 _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
Quoted 40 lines
-----Original Message-----
From: Vishal Verma [mailto:[email protected]]
Sent: Wednesday, August 15, 2018 8:06 AM
To: [email protected]
Cc: Vishal Verma <[email protected]>; Qi, Fuli/斉 福利 <[email protected]>
Subject: [ndctl PATCH 1/3] ndctl, monitor: Fix formatting for --log in the man pageChange the --log option to be similar to other options-with-arguments, such as --map.
Cc QI Fuli <[email protected]>Fixes 8d2d75f76f1e ("ndctl, monitor: set default log destination to syslog if...")Signed-off-by Vishal Verma <[email protected]>--- Documentation/ndctl/ndctl-monitor.txt | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-)Documentation/ndctl/ndctl-monitor.txt +2
-11@@ -65,20 +65,17 @@ OPTIONS A 'namespaceX.Y' device name, or namespace region plus id tuple 'X.Y'. --l <file | syslog | standard>:: ---log=<file | syslog | standard>:: +-l:: +--log=:: Send log messages to the specified destination. -+ --- -<file>:: - Send log messages to specified <file>. When fopen() is not able - to open <file>, log messages will be forwarded to syslog. -syslog:: - Send messages to syslog. -standard:: - Send messages to standard output.
Documentation/ndctl/ndctl-monitor.txt OPTIONS · line 78
Quoted 10 lines
Documentation/ndctl/ndctl-monitor.txt +8
-2--- -+ + - "<file>": + Send log messages to specified <file>. When fopen() is not able + to open <file>, log messages will be forwarded to syslog. + - "syslog": + Send messages to syslog. + - "standard": + Send messages to standard output. +
Looks good to me.
Please feel free to add: Reviewed-by: QI Fuli <[email protected]>
Thanks,
QI
Quoted 6 lines
Documentation/ndctl/ndctl-monitor.txt +0
-0The default log destination is 'syslog' if "--daemon" is specified, otherwise 'standard'.Note that standard and relative path for <file> will not work if "--daemon" is specified. --
2.14.4
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm