From 00baed29f52965e17bb0a7d9db7f9a5b0f696290 Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Wed, 17 Jun 2020 10:26:32 -0600 Subject: [PATCH] doc/man: add missing cephadm shell `--mount` option also clean-up `--mount` help usage Signed-off-by: Michael Fritch --- doc/man/8/cephadm.rst | 3 ++- src/cephadm/cephadm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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', -- 2.39.5