nvdimm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [ndctl PATCH 1/3] ndctl, monitor: Fix formatting for --log in the man page
@ 2018-08-14 23:05 Vishal Verma
  2018-08-14 23:05 ` [ndctl PATCH 2/3] ndctl, list: fix the verbosity level formatting " Vishal Verma
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vishal Verma @ 2018-08-14 23:05 UTC (permalink / raw)
  To: linux-nvdimm

Change the --log option to be similar to other options-with-arguments,
such as --map.

Cc: QI Fuli <qi.fuli@jp.fujitsu.com>
Fixes: 8d2d75f76f1e ("ndctl, monitor: set default log destination to syslog if...")
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
 Documentation/ndctl/ndctl-monitor.txt | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/Documentation/ndctl/ndctl-monitor.txt b/Documentation/ndctl/ndctl-monitor.txt
index 9a8d76b..363c398 100644
--- a/Documentation/ndctl/ndctl-monitor.txt
+++ b/Documentation/ndctl/ndctl-monitor.txt
@@ -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.
-- 
2.14.4

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-15 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 23:05 [ndctl PATCH 1/3] ndctl, monitor: Fix formatting for --log in the man page Vishal Verma
2018-08-14 23:05 ` [ndctl PATCH 2/3] ndctl, list: fix the verbosity level formatting " Vishal Verma
2018-08-14 23:05 ` [ndctl PATCH 3/3] ndctl, docs: Use asciidoctor by default Vishal Verma
2018-08-15 17:32   ` [ndctl PATCH v2] " Vishal Verma
2018-08-15  0:30 ` [ndctl PATCH 1/3] ndctl, monitor: Fix formatting for --log in the man page Qi, Fuli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).