Skip to content

Commit 68c5965

Browse files
committed
Bump version number to 0.1.0. It's now good enough.
1 parent 41e6e15 commit 68c5965

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

include/format.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ union ArgFlags
1616
struct
1717
{
1818
u8 bigClusters : 1;
19-
//u8 dryRun : 1;
2019
u8 erase : 1;
2120
u8 forceFat32 : 1;
2221
u8 secErase : 1;

source/main.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
static void printHelp(void)
1717
{
18-
puts("sdFormatLinux 0.0 by profi200\n"
18+
puts("sdFormatLinux 0.1.0 by profi200\n"
1919
"Usage: sdFormatLinux [OPTIONS...] DEVICE\n\n"
2020
"Options:\n"
2121
" -l, --label LABEL Volume label. Maximum 11 uppercase characters.\n"
@@ -29,7 +29,6 @@ static void printHelp(void)
2929
" to bypass the FAT32 64 KiB cluster size limit.\n"
3030
" Many FAT drivers including the one in Windows\n"
3131
" will not mount the filesystem or corrupt it!\n"
32-
//" -d, --dry-run Only pretend to format the card (non-destructive).\n"
3332
" -v, --verbose Show format details.\n"
3433
" -h, --help Output this help.\n");
3534
}
@@ -41,7 +40,6 @@ int main(const int argc, char *const argv[])
4140
static const struct option long_options[] =
4241
{{"big-clusters", no_argument, NULL, 'b'},
4342
{ "capacity", required_argument, NULL, 'c'},
44-
// { "dry-run", no_argument, NULL, 'd'},
4543
{ "erase", required_argument, NULL, 'e'},
4644
{ "force-fat32", no_argument, NULL, 'f'},
4745
{ "label", required_argument, NULL, 'l'},
@@ -54,7 +52,7 @@ int main(const int argc, char *const argv[])
5452
char label[12]{};
5553
while(1)
5654
{
57-
const int c = getopt_long(argc, argv, "bc:" /*d*/ "e:fl:vh", long_options, NULL);
55+
const int c = getopt_long(argc, argv, "bc:e:fl:vh", long_options, NULL);
5856
if(c == -1) break;
5957

6058
switch(c)
@@ -73,9 +71,6 @@ int main(const int argc, char *const argv[])
7371
}
7472
}
7573
break;
76-
/*case 'd':
77-
flags.dryRun = 1;
78-
break;*/
7974
case 'e':
8075
{
8176
// TODO: Support full overwrite?

0 commit comments

Comments
 (0)