From: Kefu Chai Date: Wed, 15 Mar 2017 05:50:05 +0000 (+0800) Subject: man/8/ceph-disk: fix formatting X-Git-Tag: v12.0.1~43^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=58cbd2c315aad901aa567b046d40a98c067524e7;p=ceph.git man/8/ceph-disk: fix formatting so the "optional argument" and "subcommands" subsections can be more consistent with other man pages in ceph. Signed-off-by: Kefu Chai --- diff --git a/doc/man/8/ceph-disk.rst b/doc/man/8/ceph-disk.rst index 2ec3d2ba622..f1b8f1c1bf7 100644 --- a/doc/man/8/ceph-disk.rst +++ b/doc/man/8/ceph-disk.rst @@ -10,36 +10,52 @@ Synopsis ======== | **ceph-disk** [-h] [-v] [--log-stdout] [--prepend-to-path PATH] - [--statedir PATH] [--sysconfdir PATH] - [--setuser USER] [--setgroup GROUP] - ... - -| optional arguments: - -h, --help show this help message and exit - -v, --verbose be more verbose - --log-stdout log to stdout - --prepend-to-path PATH - prepend PATH to $PATH for backward compatibility (default /usr/bin) - --statedir PATH directory in which ceph state is preserved (default /var/lib/ceph) - --sysconfdir PATH directory in which ceph configuration files are found (default /etc/ceph) - --setuser USER use the given user for subprocesses, rather than ceph or root - --setgroup GROUP use the given group for subprocesses, rather than ceph or root - -| subcommands: - - prepare Prepare a directory or disk for a Ceph OSD - activate Activate a Ceph OSD - activate-lockbox Activate a Ceph lockbox - activate-block Activate an OSD via its block device - activate-journal Activate an OSD via its journal device - activate-all Activate all tagged OSD partitions - list List disks, partitions, and Ceph OSDs - suppress-activate Suppress activate on a device (prefix) - unsuppress-activate Stop suppressing activate on a device (prefix) - deactivate Deactivate a Ceph OSD - destroy Destroy a Ceph OSD - zap Zap/erase/destroy a device's partition table (and contents) - trigger Trigger an event (caled by udev) +| [--statedir PATH] [--sysconfdir PATH] +| [--setuser USER] [--setgroup GROUP] +| ... + +optional arguments +------------------ + +-h, --help show this help message and exit +-v, --verbose be more verbose +--log-stdout log to stdout +--prepend-to-path PATH + prepend PATH to $PATH for backward compatibility (default /usr/bin) +--statedir PATH directory in which ceph state is preserved (default /var/lib/ceph) +--sysconfdir PATH directory in which ceph configuration files are found (default /etc/ceph) +--setuser USER use the given user for subprocesses, rather than ceph or root +--setgroup GROUP use the given group for subprocesses, rather than ceph or root + +subcommands +----------- + +prepare + Prepare a directory or disk for a Ceph OSD +activate + Activate a Ceph OSD +activate-lockbox + Activate a Ceph lockbox +activate-block + Activate an OSD via its block device +activate-journal + Activate an OSD via its journal device +activate-all + Activate all tagged OSD partitions +list + List disks, partitions, and Ceph OSDs +suppress-activate + Suppress activate on a device (prefix) +unsuppress-activate + Stop suppressing activate on a device (prefix) +deactivate + Deactivate a Ceph OSD +destroy + Destroy a Ceph OSD +zap + Zap/erase/destroy a device's partition table (and contents) +trigger + Trigger an event (caled by udev) Description ===========