Skip to content

Commit e438c34

Browse files
committed
flavor: clarify --swap description
--swap will add a additional storage device, which not affect the original swap partition/device. This patch will clarify this misleading description. Change-Id: Ic079c069985d39cc969b97876901007a81883f57 Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
1 parent 5e00034 commit e438c34

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

doc/source/cli/command-objects/flavor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Create new flavor
4444

4545
.. option:: --swap <size-mb>
4646

47-
Swap space size in MB (default 0M)
47+
Additional swap space size in MB (default 0M)
4848

4949
.. option:: --vcpus <num-cpu>
5050

openstackclient/compute/v2/flavor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def get_parser(self, prog_name):
9191
type=int,
9292
metavar="<size-mb>",
9393
default=0,
94-
help=_("Swap space size in MB (default 0M)")
94+
help=_("Additional swap space size in MB (default 0M)")
9595
)
9696
parser.add_argument(
9797
"--vcpus",

0 commit comments

Comments
 (0)