]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/man: add missing cephadm shell `--mount` option 35634/head
authorMichael Fritch <mfritch@suse.com>
Wed, 17 Jun 2020 16:26:32 +0000 (10:26 -0600)
committerMichael Fritch <mfritch@suse.com>
Thu, 18 Jun 2020 01:58:59 +0000 (19:58 -0600)
also clean-up `--mount` help usage

Signed-off-by: Michael Fritch <mfritch@suse.com>
doc/man/8/cephadm.rst
src/cephadm/cephadm

index bd5fa86989e267a0d668acc683de1b45f38b54e5..39859554cbc44379b43c8de7a943f2279b222676 100644 (file)
@@ -37,7 +37,7 @@ Synopsis
 | **cephadm** **run** [-h] --name NAME --fsid FSID
 
 | **cephadm** **shell** [-h] [--fsid FSID] [--name NAME] [--config CONFIG]
-                        [--keyring KEYRING] [--env ENV]
+                        [--keyring KEYRING] [--mount MOUNT] [--env ENV]
                         [--] [command [command ...]]
 
 | **cephadm** **enter** [-h] [--fsid FSID] --name NAME [command [command ...]]
@@ -420,6 +420,7 @@ Arguments:
 * [--name NAME, -n NAME]          daemon name (type.id)
 * [--config CONFIG, -c CONFIG]    ceph.conf to pass through to the container
 * [--keyring KEYRING, -k KEYRING] ceph.keyring to pass through to the container
+* [--mount MOUNT, -m MOUNT]       mount a file or directory under /mnt in the container
 * [--env ENV, -e ENV]             set environment variable
 
 
index ea4c4b41ae3d4aeee164f1e185106ff785c380e0..0cf359f58e438a2f6a43e665452518080fb70492 100755 (executable)
@@ -4448,7 +4448,7 @@ def _get_parser():
         help='ceph.keyring to pass through to the container')
     parser_shell.add_argument(
         '--mount', '-m',
-        help='file or directory path that will be mounted in container /mnt')
+        help='mount a file or directory under /mnt in the container')
     parser_shell.add_argument(
         '--env', '-e',
         action='append',