mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix print-hex command declaration for Spectre.Console.Cli.
This commit is contained in:
@@ -208,7 +208,7 @@ sealed class PrintHexCommand : Command<PrintHexCommand.Settings>
|
||||
public class Settings : ImageFamily
|
||||
{
|
||||
[Description("How many sectors to print.")]
|
||||
[DefaultValue(1)]
|
||||
[DefaultValue(1ul)]
|
||||
[CommandOption("-l|--length")]
|
||||
public ulong Length { get; init; }
|
||||
[Description("Print sectors with tags included.")]
|
||||
@@ -216,11 +216,11 @@ sealed class PrintHexCommand : Command<PrintHexCommand.Settings>
|
||||
[CommandOption("-r|--long-sectors")]
|
||||
public bool LongSectors { get; init; }
|
||||
[Description("Starting sector.")]
|
||||
[DefaultValue(0)]
|
||||
[DefaultValue(0ul)]
|
||||
[CommandOption("-s|--start")]
|
||||
public ulong Start { get; init; }
|
||||
[Description("How many bytes to print per line.")]
|
||||
[DefaultValue(32)]
|
||||
[DefaultValue((ushort)32)]
|
||||
[CommandOption("-w|--width")]
|
||||
public ushort Width { get; init; }
|
||||
[Description("Media image path")]
|
||||
|
||||
Reference in New Issue
Block a user