Skip to content

Commit

Permalink
Bump version number to 0.1.0. It's now good enough.
Browse files Browse the repository at this point in the history
  • Loading branch information
profi200 committed Feb 23, 2023
1 parent 41e6e15 commit 68c5965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion include/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ union ArgFlags
struct
{
u8 bigClusters : 1;
//u8 dryRun : 1;
u8 erase : 1;
u8 forceFat32 : 1;
u8 secErase : 1;
Expand Down
9 changes: 2 additions & 7 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

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

switch(c)
Expand All @@ -73,9 +71,6 @@ int main(const int argc, char *const argv[])
}
}
break;
/*case 'd':
flags.dryRun = 1;
break;*/
case 'e':
{
// TODO: Support full overwrite?
Expand Down

0 comments on commit 68c5965

Please sign in to comment.