summaryrefslogtreecommitdiffstats
path: root/usr.bin/truncate
diff options
context:
space:
mode:
authorceri <ceri@FreeBSD.org>2006-09-07 17:10:26 +0000
committerceri <ceri@FreeBSD.org>2006-09-07 17:10:26 +0000
commit1510e4aa4d382a842693caec932646e4c8fb1774 (patch)
treeae66298e07c6f35a8e4f8879ffce1a284ca103e6 /usr.bin/truncate
parent99e0acc51f4daed391ba64422e94083c66eb9d7e (diff)
downloadFreeBSD-src-1510e4aa4d382a842693caec932646e4c8fb1774.zip
FreeBSD-src-1510e4aa4d382a842693caec932646e4c8fb1774.tar.gz
Chase revision 1.10 in usage string and a comment.
Diffstat (limited to 'usr.bin/truncate')
-rw-r--r--usr.bin/truncate/truncate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/truncate/truncate.c b/usr.bin/truncate/truncate.c
index a0df091..469dbcb 100644
--- a/usr.bin/truncate/truncate.c
+++ b/usr.bin/truncate/truncate.c
@@ -146,7 +146,7 @@ main(int argc, char **argv)
}
/*
- * Return the numeric value of a string given in the form [+-][0-9]+[GMK]
+ * Return the numeric value of a string given in the form [+-][0-9]+[GMKT]
* or -1 on format error or overflow.
*/
static off_t
@@ -208,7 +208,7 @@ static void
usage(void)
{
fprintf(stderr, "%s\n%s\n",
- "usage: truncate [-c] -s [+|-]size[K|k|M|m|G|g] file ...",
+ "usage: truncate [-c] -s [+|-]size[K|k|M|m|G|g|T|t] file ...",
" truncate [-c] -r rfile file ...");
exit(EXIT_FAILURE);
}
OpenPOWER on IntegriCloud