- Use consistent option and parameter naming convention

edge.strict_endians
szaka 2005-06-12 11:02:50 +00:00
parent 4fcd676f63
commit b4a712b9e1
4 changed files with 32 additions and 30 deletions

View File

@ -10,20 +10,20 @@
ntfsclone \- Efficiently clone, image or restore an NTFS filesystem
.SH SYNOPSIS
.B ntfsclone
[\fBOPTIONS\fR]
.I source
[\fIOPTIONS\fR]
.I SOURCE
.br
.B ntfsclone \-\-save-image
[\fBOPTIONS\fR]
.I source
[\fIOPTIONS\fR]
.I SOURCE
.br
.B ntfsclone \-\-restore-image
[\fBOPTIONS\fR]
.I source
[\fIOPTIONS\fR]
.I SOURCE
.br
.B ntfsclone \-\-metadata
[\fBOPTIONS\fR]
.I source
[\fIOPTIONS\fR]
.I SOURCE
.SH DESCRIPTION
.B ntfsclone
will efficiently clone (copy, save, backup, restore) an NTFS filesystem to a
@ -116,7 +116,7 @@ or the
.B \-\-restore\-image
option. Note that you can restore images from standard input by
using '\-' as the
.I source
.I SOURCE
file.
.SH METADATA-ONLY CLONING
One of the features of
@ -175,9 +175,9 @@ compression, encryption or streaming through a network.
.TP
.B \-r, \-\-restore\-image
Restore from the special image format specified by
.I source\fR.
.I SOURCE\fR.
If the
.I source
.I SOURCE
is '\-' then the image is read from the standard input.
.TP
.B \-\-rescue

View File

@ -210,7 +210,7 @@ static int perr_exit(const char *fmt, ...)
static void usage(void) __attribute__((noreturn));
static void usage(void)
{
Eprintf("\nUsage: %s [options] SOURCE\n"
Eprintf("\nUsage: %s [OPTIONS] SOURCE\n"
" Efficiently clone NTFS to a sparse file, image, device or standard output.\n"
"\n"
" -o, --output FILE Clone NTFS to the non-existent FILE\n"

View File

@ -1,34 +1,34 @@
.\" -*- nroff -*-
.\" Copyright 2002-2004 by Szabolcs Szakacsits All Rights Reserved.
.\" Copyright 2002-2005 by Szabolcs Szakacsits All Rights Reserved.
.\"
.TH NTFSRESIZE 8 "Mar 2004" "ntfsprogs version @VERSION@"
.TH NTFSRESIZE 8 "Jun 2005" "ntfsprogs version @VERSION@"
.SH NAME
ntfsresize \- resize an NTFS filesystem without data loss
.SH SYNOPSIS
.B ntfsresize
[\fBOPTIONS\fR]
[\fIOPTIONS\fR]
.B --info
.I device
.I DEVICE
.br
.B ntfsresize
[\fBOPTIONS\fR]
[\fB\-\-size \fIsize\fR[\fBk\fR|\fBM\fR|\fBG\fR]]
.I device
[\fIOPTIONS\fR]
[\fB\-\-size \fISIZE\fR[\fBk\fR|\fBM\fR|\fBG\fR]]
.I DEVICE
.SH DESCRIPTION
The
.B ntfsresize
program non-destructively resizes Windows XP/2000/NT4, Windows Server 2003
or Longhorn Beta NTFS filesystems. It can be used to shrink or enlarge
any NTFS filesystem located on an unmounted
.I device
.I DEVICE
(usually a disk partition). The new filesystem will have
.I size
.I SIZE
bytes.
The
.I size
.I SIZE
parameter may have one of the optional modifiers
\fBk\fR, \fBM\fR, \fBG\fR, which means the
.I size
.I SIZE
parameter is given in kilo-, mega- or gigabytes respectively.
.B ntfsresize
conforms to the SI, ATA, IEEE standards and the disk manufacturers
@ -39,7 +39,9 @@ If both
and
.B --size
are omitted then the
NTFS filesystem will be enlarged to the underlying device size.
NTFS filesystem will be enlarged to the underlying
.I DEVICE
size.
.PP
The
.B ntfsresize
@ -114,10 +116,10 @@ that Windows might need about 50-100 MB free space left to boot safely.
This option never causes any changes to the filesystem, the partition is
opened read-only.
.TP
.B -s, --size \fIsize\fR[\fBk\fR|\fBM\fR|\fBG\fR]
.B -s, --size \fISIZE\fR[\fBk\fR|\fBM\fR|\fBG\fR]
Resize filesystem to \fIsize\fR[\fBk\fR|\fBM\fR|\fBG\fR] bytes.
The optional modifiers \fBk\fR, \fBM\fR, \fBG\fR mean the
.I size
.I SIZE
parameter is given in kilo-, mega- or gigabytes respectively.
Conforming to standards, k=10^3, M=10^6 and G=10^9. Use this option
with

View File

@ -272,10 +272,10 @@ static void usage(void) __attribute__((noreturn));
static void usage(void)
{
printf ("\nUsage: %s [options] device\n"
" Resize an NTFS volume non-destructively.\n"
printf ("\nUsage: %s [OPTIONS] DEVICE\n"
" Resize an NTFS volume non-destructively, safely move any data if needed.\n"
"\n"
" -i, --info Estimate the smallest shrunken size supported\n"
" -i, --info Estimate the smallest shrunken size possible\n"
" -s, --size SIZE Resize volume to SIZE[k|M|G] bytes\n"
"\n"
" -n, --no-action Do not write to disk\n"
@ -289,7 +289,7 @@ static void usage(void)
#endif
"\n"
" The options -i and -s are mutually exclusive. If both options are\n"
" omitted then the NTFS volume will be enlarged to the device size.\n"
" omitted then the NTFS volume will be enlarged to the DEVICE size.\n"
"\n", EXEC_NAME);
printf ("%s%s", ntfs_bugs, ntfs_home);
printf ("Ntfsresize FAQ: http://linux-ntfs.sourceforge.net/info/ntfsresize.html\n");