summaryrefslogtreecommitdiff
path: root/man/fsadm.8_main
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2017-03-27 16:45:48 +0200
committerHeinz Mauelshagen <heinzm@redhat.com>2017-03-27 16:49:39 +0200
commit36cac41115cca875f5d120631933b5dfb3c3c524 (patch)
tree17655c869a2acd7e4c1843c1ddbe2541d03e2cd6 /man/fsadm.8_main
parent6165e092215c795eafa297268cddbd9dade3a82c (diff)
downloadlvm2-36cac41115cca875f5d120631933b5dfb3c3c524.tar.gz
man-generator/man/help: simplify hyphen escaping
Commits a29bb6a14b5e920092495fb9a1623e527d22daac ... 5c199d99f4dc9911d62673baba7643ea649ffe64 narrowed down on addressing the escaping of hyphens in the dynamic creation of manuals whilst avoiding them in creating help texts. This lead to a sequence of slipping through hyphens adrressed by additional patches in aforementioned commit series. On the other hand, postprocessing dynamically man-generator created and statically provided manuals catches all hyphens in need of escaping. Changes: - revert the above commits whilst keeping man-generator streamlining and the detection of any '\' when generating help texts in order to avoid escapes to slip in - Dynamically escape hyphens in manaual pages using sed(1) in the respective Makefile targets - remove any manually added escaping on hyphens from any static manual sources or headers
Diffstat (limited to 'man/fsadm.8_main')
-rw-r--r--man/fsadm.8_main14
1 files changed, 7 insertions, 7 deletions
diff --git a/man/fsadm.8_main b/man/fsadm.8_main
index 02431c527..c46033ce2 100644
--- a/man/fsadm.8_main
+++ b/man/fsadm.8_main
@@ -35,32 +35,32 @@ filesystem.
.SH OPTIONS
.
.HP
-.BR \-e | \-\-ext\-offline
+.BR -e | --ext-offline
.br
Unmount ext2/ext3/ext4 filesystem before doing resize.
.
.HP
-.BR \-f | \-\-force
+.BR -f | --force
.br
Bypass some sanity checks.
.
.HP
-.BR \-h | \-\-help
+.BR -h | --help
.br
Display the help text.
.
.HP
-.BR \-n | \-\-dry\-run
+.BR -n | --dry-run
.br
Print commands without running them.
.
.HP
-.BR \-v | \-\-verbose
+.BR -v | --verbose
.br
Be more verbose.
.
.HP
-.BR \-y | \-\-yes
+.BR -y | --yes
.br
Answer "yes" at any prompts.
.
@@ -87,7 +87,7 @@ If \fI/dev/vg/test\fP contains ext2/ext3/ext4
filesystem it will be unmounted prior the resize.
All [y/n] questions will be answered 'y'.
.sp
-.B fsadm \-e \-y resize /dev/vg/test 1000M
+.B fsadm -e -y resize /dev/vg/test 1000M
.
.SH ENVIRONMENT VARIABLES
.