summaryrefslogtreecommitdiffstats
path: root/usr.bin/truncate
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-08-16 08:19:09 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-08-16 08:19:09 +0000
commit2ba16ad962c156cad5bc459e679f1f2086cfdad4 (patch)
treea1c266804539471a7cca6ad57cfb293ce30926cf /usr.bin/truncate
parent6f3390c47b1ab36de4bfe667385979c4f4e7970f (diff)
downloadFreeBSD-src-2ba16ad962c156cad5bc459e679f1f2086cfdad4.zip
FreeBSD-src-2ba16ad962c156cad5bc459e679f1f2086cfdad4.tar.gz
Use the .Cm macro to mark up the modifiers of the -s flag's size argument.
Diffstat (limited to 'usr.bin/truncate')
-rw-r--r--usr.bin/truncate/truncate.119
1 files changed, 10 insertions, 9 deletions
diff --git a/usr.bin/truncate/truncate.1 b/usr.bin/truncate/truncate.1
index 99bcc94..80c1c75 100644
--- a/usr.bin/truncate/truncate.1
+++ b/usr.bin/truncate/truncate.1
@@ -37,9 +37,9 @@
.Bk -words
.Fl s Xo
.Sm off
-.Op + | -
+.Op Cm + | -
.Ar size
-.Op K | M | G
+.Op Cm K | M | G
.Sm on
.Xc
.Ek
@@ -69,20 +69,20 @@ Truncate files to the length of the file
.Ar rfile .
.It Fl s Xo
.Sm off
-.Op + | -
+.Op Cm + | -
.Ar size
-.Op K | M | G
+.Op Cm K | M | G
.Sm on
.Xc
If the
.Ar size
argument is preceded by a plus sign
-.Pq Sq + ,
+.Pq Cm + ,
files will be extended by this number of bytes.
If the
.Ar size
argument is preceded by a dash
-.Pq Sq - ,
+.Pq Cm - ,
file lengths will be reduced by no more than this number of bytes,
to a minimum length of zero bytes.
Otherwise, the
@@ -93,9 +93,10 @@ should be extended or reduced as appropriate.
The
.Ar size
argument may be suffixed with one of
-.Sq K ,
-.Sq M ,
-.Sq G
+.Cm K ,
+.Cm M
+or
+.Cm G
to indicate a multiple of
Kilobytes, Megabytes or Gigabytes
respectively.
OpenPOWER on IntegriCloud