]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
doc: Fix short option name for cfg-file
authorFelix Yan <felixonmars@archlinux.org>
Thu, 1 Feb 2024 12:47:38 +0000 (14:47 +0200)
committerDaniel Wagner <wagi@monom.org>
Fri, 2 Feb 2024 10:08:42 +0000 (11:08 +0100)
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 <felixonmars@archlinux.org>
[dwagner: updated some more outdated references
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Documentation/nvme-connect-all.txt
Documentation/nvme-connect.txt
Documentation/nvme-discover.txt

index 6e01e5926b8634ae28a72e7a690e50802c0d530b..f4c6cd1566df1180c35e7e7a6ba7dd1b28bfba17 100644 (file)
@@ -18,7 +18,7 @@ SYNOPSIS
                        [--hostid=<hostid> | -I <hostid>]
                        [--raw=<filename> | -r <filename>]
                        [--device=<device> | -d <device>]
-                       [--cfg-file=<cfg> | -C <cfg>]
+                       [--config=<filename> | -J <cfg>]
                        [--keep-alive-tmo=<sec> | -k <sec>]
                        [--reconnect-delay=<#> | -c <#>]
                        [--ctrl-loss-tmo=<#>     | -l <#>]
@@ -121,8 +121,8 @@ OPTIONS
        command "connect-all" or "discover". <device> follows the format
        nvme*, eg. nvme0, nvme1.
 
--C <cfg>::
---config-file=<cfg>::
+-J <filename>::
+--config=<filename>::
        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
index 2cdc229218ffb16c74e147d0e773d8c1b82bee62..0decfe860fe9df47887000ed085cbdec194e8b97 100644 (file)
@@ -16,7 +16,7 @@ SYNOPSIS
                        [--host-iface=<iface> | -f <iface>]
                        [--hostnqn=<hostnqn> | -q <hostnqn>]
                        [--hostid=<hostid> | -I <hostid>]
-                       [--config-file=<cfg> | -J <cfg>]
+                       [--config=<filename> | -J <filename>]
                        [--dhchap-secret=<secret> | -S <secret>]
                        [--dhchap-ctrl-secret=<secret> | -C <secret>]
                        [--nr-io-queues=<#> | -i <#>]
@@ -95,8 +95,8 @@ OPTIONS
        UUID(Universally Unique Identifier) to be discovered which should be
        formatted.
 
--J <cfg>::
---config-file=<cfg>::
+-J <filename>::
+--config=<filename>::
        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
index 943a8702345acc14b69ef178955f018fe48d73c0..9603fa7d9c199d14c433db60dd0bc06d5d2e9f2e 100644 (file)
@@ -18,7 +18,7 @@ SYNOPSIS
                        [--hostid=<hostid> | -I <hostid>]
                        [--raw=<filename> | -r <filename>]
                        [--device=<device> | -d <device>]
-                       [--cfg-file=<cfg> | -C <cfg>]
+                       [--config=<filename> | -J <filename>]
                        [--keep-alive-tmo=<sec> | -k <sec>]
                        [--reconnect-delay=<#> | -c <#>]
                        [--ctrl-loss-tmo=<#> | -l <#>]
@@ -140,8 +140,8 @@ OPTIONS
        command "connect-all" or "discover". <device> follows the format
        nvme*, eg. nvme0, nvme1.
 
--C <cfg>::
---config-file=<cfg>::
+-J <filename>::
+--config=<filename>::
        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