@@ -177,9 +177,11 @@ void ParseCommandLine( GlobalPlotConfig& cfg, IPlotter*& outPlotter, int argc, c
177
177
// The next parameter is potentially the compression level
178
178
if ( IsNumber ( cli.Peek () ) )
179
179
cfg.compressionLevel = (uint32)cli.ReadU64 ();
180
-
180
+
181
181
continue ;
182
182
}
183
+ else if ( cli.ReadSwitch ( cfg.disableOutputDirectIO , " --no-direct-io" ) )
184
+ continue ;
183
185
else if ( cli.ReadStr ( cfg.plotMemoStr , " --memo" ) )
184
186
continue ;
185
187
else if ( cli.ReadSwitch ( cfg.showMemo , " --show-memo" ) )
542
544
543
545
-t, --threads : Maximum number of threads to use.
544
546
By default, this is set to the maximum number of logical cpus present.
545
-
547
+
546
548
-n, --count : Number of plots to create. Default = 1.
547
549
548
550
-f, --farmer-key : Farmer public key, specified in hexadecimal format.
561
563
Current compression levels supported are from 0 to 7 (inclusive).
562
564
Where 0 means no compression, and 7 is the highest compression.
563
565
Higher compression means smaller plots, but more CPU usage during harvesting.
564
-
566
+
567
+ --no-direct-io : Disable direct I/O when writing plot files.
568
+ Enable this if writing to a storage destination
569
+ that does not support direct I/O.
570
+
565
571
--benchmark : Enables benchmark mode. This is meant to test plotting without
566
572
actually writing a final plot to disk.
567
573
@@ -583,10 +589,10 @@ R"(
583
589
This is useful when running multiple simultaneous
584
590
instances of Bladebit as you can manually
585
591
assign thread affinity yourself when launching Bladebit.
586
-
592
+
587
593
--memory : Display system memory available, in bytes, and the
588
594
required memory to run Bladebit, in bytes.
589
-
595
+
590
596
--memory-json : Same as --memory, but formats the output as json.
591
597
592
598
--version : Display current version.
0 commit comments