This is more consistent with other utilities.
.B \-u
]
[
-.B \-v
+.B \-V
]
.I device
Dump ranges of used sectors starting from 0 and separated with spaces. May be
useful for backup tools.
.TP
-.BI \-v
+.BI \-V
Print version and copyright.
.SH EXIT CODES
static void usage(const char* prog)
{
- fprintf(stderr, "Usage: %s [-s] [-u] [-v] <device>\n", prog);
+ fprintf(stderr, "Usage: %s [-s] [-u] [-V] <device>\n", prog);
exit(1);
}
sb_only = true;
else if (strcmp(*pp, "-u") == 0)
used_sectors = true;
- else if (strcmp(*pp, "-v") == 0)
+ else if (strcmp(*pp, "-V") == 0)
{
puts("Copyright (C) 2011-2013 Andrew Nayenko");
return 0;
.SH SYNOPSIS
.B exfatfsck
[
-.B \-v
+.B \-V
]
.I device
.SH COMMAND LINE OPTIONS
Command line options available:
.TP
-.BI \-v
+.BI \-V
Print version and copyright.
.SH EXIT CODES
static void usage(const char* prog)
{
- fprintf(stderr, "Usage: %s [-v] <device>\n", prog);
+ fprintf(stderr, "Usage: %s [-V] <device>\n", prog);
exit(1);
}
for (pp = argv + 1; *pp; pp++)
{
- if (strcmp(*pp, "-v") == 0)
+ if (strcmp(*pp, "-V") == 0)
{
puts("Copyright (C) 2011-2013 Andrew Nayenko");
return 0;
static void usage(const char* prog)
{
- fprintf(stderr, "Usage: %s [-d] [-o options] [-v] <device> <dir>\n", prog);
+ fprintf(stderr, "Usage: %s [-d] [-o options] [-V] <device> <dir>\n", prog);
exit(1);
}
}
else if (strcmp(*pp, "-d") == 0)
debug = 1;
- else if (strcmp(*pp, "-v") == 0)
+ else if (strcmp(*pp, "-V") == 0)
{
free(mount_options);
puts("Copyright (C) 2010-2013 Andrew Nayenko");
.I options
]
[
-.B \-v
+.B \-V
]
.I device dir
.B FILE SYSTEM OPTIONS
section below.
.TP
-.BI \-v
+.BI \-V
Print version and copyright.
.SH FILE SYSTEM OPTIONS
.SH SYNOPSIS
.B exfatlabel
[
-.B \-v
+.B \-V
]
.I device
[
.SH COMMAND LINE OPTIONS
Command line options available:
.TP
-.BI \-v
+.BI \-V
Print version and copyright.
.SH EXIT CODES
int rc = 0;
for (pp = argv + 1; *pp; pp++)
- if (strcmp(*pp, "-v") == 0)
+ if (strcmp(*pp, "-V") == 0)
{
printf("exfatlabel %u.%u.%u\n", EXFAT_VERSION_MAJOR,
EXFAT_VERSION_MINOR, EXFAT_VERSION_PATCH);
if (argc != 2 && argc != 3)
{
- fprintf(stderr, "Usage: %s [-v] <device> [label]\n", argv[0]);
+ fprintf(stderr, "Usage: %s [-V] <device> [label]\n", argv[0]);
return 1;
}
{
fprintf(stderr, "Usage: %s [-i volume-id] [-n label] "
"[-p partition-first-sector] "
- "[-s sectors-per-cluster] [-v] <device>\n", prog);
+ "[-s sectors-per-cluster] [-V] <device>\n", prog);
exit(1);
}
usage(argv[0]);
first_sector = strtoll(*pp, NULL, 10);
}
- else if (strcmp(*pp, "-v") == 0)
+ else if (strcmp(*pp, "-V") == 0)
{
puts("Copyright (C) 2011-2013 Andrew Nayenko");
return 0;
.I sectors-per-cluster
]
[
-.B \-v
+.B \-V
]
.I device
32 KB if volume size is from 256 MB to 32 GB,
128 KB if volume size is 32 GB or larger.
.TP
-.BI \-v
+.BI \-V
Print version and copyright.
.SH EXIT CODES