From: Michael Fritch Date: Wed, 17 Jun 2020 16:26:32 +0000 (-0600) Subject: doc/man: add missing cephadm shell `--mount` option X-Git-Tag: v16.1.0~2023^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=00baed29f52965e17bb0a7d9db7f9a5b0f696290;p=ceph.git doc/man: add missing cephadm shell `--mount` option also clean-up `--mount` help usage Signed-off-by: Michael Fritch --- diff --git a/doc/man/8/cephadm.rst b/doc/man/8/cephadm.rst index bd5fa86989e26..39859554cbc44 100644 --- a/doc/man/8/cephadm.rst +++ b/doc/man/8/cephadm.rst @@ -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 diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index ea4c4b41ae3d4..0cf359f58e438 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -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',