diff --git a/dart/bin/dbikc.dart b/dart/bin/dbikc.dart index 755120c..1e016fd 100644 --- a/dart/bin/dbikc.dart +++ b/dart/bin/dbikc.dart @@ -21,7 +21,7 @@ Future main(List args) async { Arguments parsed = await CLIHelper.parseArgs(args, Arguments()); if (parsed.hasArg("help") || !parsed.hasArg("value")) { - print("${HEADER}${helpText}"); + print("$HEADER$helpText"); exit(0); return 0; } else { diff --git a/dart/bin/mkfsreport.dart b/dart/bin/mkfsreport.dart index 56de8bb..a3c845e 100644 --- a/dart/bin/mkfsreport.dart +++ b/dart/bin/mkfsreport.dart @@ -48,10 +48,11 @@ Future main(List args) async { print(helpTest); return 0; } else { - if (parsed.hasArg("out")) + if (parsed.hasArg("out")) { verbose = true; - else + } else { verbose = false; + } } print(HEADER); @@ -67,12 +68,13 @@ Future main(List args) async { if (verbose) await prnt("\r> Generating report..."); String report = ""; - if (!parsed.hasArg("nohtml")) + if (!parsed.hasArg("nohtml")) { report = await generateHTMLReport(FIC, ascending: ascending, VERSION: MKFSREPORT_VER); - else + } else { report = await generateTextReport(FIC, ascending: ascending, VERSION: MKFSREPORT_VER); + } if (verbose) { StringArgument outputPath = parsed.getArg("out") as StringArgument; @@ -98,7 +100,7 @@ Future generateHTMLReport(FileInformationCache FIC, MKFSReport

File System Report


- Generated by mkfsreport v${VERSION}
+ Generated by mkfsreport v$VERSION
Bundled LibAC Version: ${HelperConsts.LIBAC_VERSION}
     MKFSREPORT and LibAC are provided free of charge with no implied warranties. The software is provided as-is.
@@ -145,7 +147,7 @@ Future generateTextReport(FileInformationCache FIC,
   String header = '''
   MKFSReport
   {File System Report}
-  Generated by mkfsreport v${VERSION}
+  Generated by mkfsreport v$VERSION
   Bundled LibAC Version: ${HelperConsts.LIBAC_VERSION} [https://git.zontreck.com/AriasCreations/LibAC-dart]
     
     MKFSREPORT and LibAC are provided free of charge with no implied warranties. The software is provided as-is.