From: Felix Yan Date: Thu, 1 Feb 2024 12:47:38 +0000 (+0200) Subject: doc: Fix short option name for cfg-file X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=89f02eec860135c28b49340c971b10548a4408d6;p=users%2Fsagi%2Fnvme-cli.git doc: Fix short option name for cfg-file It was renamed to "-J" but some docs were left out. Fixes: 0571307d3af0 ("nvme-connect: Add 'dhchap-secret' and 'dhchap-ctrl-secret' arguments") Signed-off-by: Felix Yan [dwagner: updated some more outdated references Signed-off-by: Daniel Wagner --- diff --git a/Documentation/nvme-connect-all.txt b/Documentation/nvme-connect-all.txt index 6e01e592..f4c6cd15 100644 --- a/Documentation/nvme-connect-all.txt +++ b/Documentation/nvme-connect-all.txt @@ -18,7 +18,7 @@ SYNOPSIS [--hostid= | -I ] [--raw= | -r ] [--device= | -d ] - [--cfg-file= | -C ] + [--config= | -J ] [--keep-alive-tmo= | -k ] [--reconnect-delay=<#> | -c <#>] [--ctrl-loss-tmo=<#> | -l <#>] @@ -121,8 +121,8 @@ OPTIONS command "connect-all" or "discover". follows the format nvme*, eg. nvme0, nvme1. --C :: ---config-file=:: +-J :: +--config=:: Use the specified JSON configuration file instead of the default @SYSCONFDIR@/nvme/config.json file or 'none' to not read in an existing configuration file. The JSON configuration file diff --git a/Documentation/nvme-connect.txt b/Documentation/nvme-connect.txt index 2cdc2292..0decfe86 100644 --- a/Documentation/nvme-connect.txt +++ b/Documentation/nvme-connect.txt @@ -16,7 +16,7 @@ SYNOPSIS [--host-iface= | -f ] [--hostnqn= | -q ] [--hostid= | -I ] - [--config-file= | -J ] + [--config= | -J ] [--dhchap-secret= | -S ] [--dhchap-ctrl-secret= | -C ] [--nr-io-queues=<#> | -i <#>] @@ -95,8 +95,8 @@ OPTIONS UUID(Universally Unique Identifier) to be discovered which should be formatted. --J :: ---config-file=:: +-J :: +--config=:: Use the specified JSON configuration file instead of the default @SYSCONFDIR@/nvme/config.json file or 'none' to not read in an existing configuration file. The JSON configuration file diff --git a/Documentation/nvme-discover.txt b/Documentation/nvme-discover.txt index 943a8702..9603fa7d 100644 --- a/Documentation/nvme-discover.txt +++ b/Documentation/nvme-discover.txt @@ -18,7 +18,7 @@ SYNOPSIS [--hostid= | -I ] [--raw= | -r ] [--device= | -d ] - [--cfg-file= | -C ] + [--config= | -J ] [--keep-alive-tmo= | -k ] [--reconnect-delay=<#> | -c <#>] [--ctrl-loss-tmo=<#> | -l <#>] @@ -140,8 +140,8 @@ OPTIONS command "connect-all" or "discover". follows the format nvme*, eg. nvme0, nvme1. --C :: ---config-file=:: +-J :: +--config=:: Use the specified JSON configuration file instead of the default @SYSCONFDIR@/nvme/config.json file or 'none' to not read in an existing configuration file. The JSON configuration file