Change 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(-) 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 [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
