diff --git a/pages/linux/pvcreate.md b/pages/linux/pvcreate.md index bc9bf6af15..e16080dab9 100644 --- a/pages/linux/pvcreate.md +++ b/pages/linux/pvcreate.md @@ -6,8 +6,8 @@ - Initialize the `/dev/sda1` volume for use by LVM: -`pvcreate {{/dev/sda1}}` +`pvcreate {{/dev/sdXY}}` - Force the creation without any confirmation prompts: -`pvcreate --force {{/dev/sda1}}` +`pvcreate {{[-f|--force]}} {{/dev/sdXY}}` diff --git a/pages/linux/pvremove.md b/pages/linux/pvremove.md index 5f94d19055..20421163c8 100644 --- a/pages/linux/pvremove.md +++ b/pages/linux/pvremove.md @@ -9,15 +9,15 @@ - Display detailed output during the operation: -`sudo pvremove --verbose {{/dev/sdXY}}` +`sudo pvremove {{[-v|--verbose]}} {{/dev/sdXY}}` - Remove a LVM label without asking for confirmation: -`sudo pvremove --yes {{/dev/sdXY}}` +`sudo pvremove {{[-y|--yes]}} {{/dev/sdXY}}` - Forcefully remove a LVM label: -`sudo pvremove --force {{/dev/sdXY}}` +`sudo pvremove {{[-f|--force]}} {{/dev/sdXY}}` - Display output in JSON format: diff --git a/pages/linux/vgchange.md b/pages/linux/vgchange.md index 54f466df45..8db335c464 100644 --- a/pages/linux/vgchange.md +++ b/pages/linux/vgchange.md @@ -6,8 +6,8 @@ - Change the activation status of logical volumes in all volume groups: -`sudo vgchange --activate {{y|n}}` +`sudo vgchange {{[-a|--activate]}} {{y|n}}` - Change the activation status of logical volumes in the specified volume group (determine with `vgscan`): -`sudo vgchange --activate {{y|n}} {{volume_group}}` +`sudo vgchange {{[-a|--activate]}} {{y|n}} {{volume_group}}` diff --git a/pages/linux/vgremove.md b/pages/linux/vgremove.md index 584fa53b09..c234303efc 100644 --- a/pages/linux/vgremove.md +++ b/pages/linux/vgremove.md @@ -9,11 +9,11 @@ - Forcefully remove a volume group without confirmation: -`vgremove --force {{volume_group}}` +`vgremove {{[-f|--force]}} {{volume_group}}` - Set the debug level for detailed logging to level 2, (repeat `--debug` up to 6 times to increase the level): -`vgremove --debug --debug {{volume_group}}` +`vgremove {{[-d|--debug]}} {{[-d|--debug]}} {{volume_group}}` - Use a specific config setting to override defaults: @@ -21,4 +21,4 @@ - Display help text for usage information: -`vgremove --help` +`vgremove {{[-h|--help]}}`