diff --git a/OpenKh.Command.Bbsa/Program.cs b/OpenKh.Command.Bbsa/Program.cs index 62cdb91bc..5ee8c061e 100644 --- a/OpenKh.Command.Bbsa/Program.cs +++ b/OpenKh.Command.Bbsa/Program.cs @@ -49,7 +49,7 @@ private class ExtractCommand { [Required] [DirectoryExists] - [Option(CommandOptionType.SingleValue, Description = "Required. Path where the various BBSAx.DAT files are located", ShortName = "i", LongName = "input")] + [Argument(0, Description = "Required. Path where the various BBSAx.DAT files are located")] public string InputPath { get; set; } [Option(CommandOptionType.SingleValue, Description = "Path where the content will be extracted", ShortName = "o", LongName = "output")] @@ -105,7 +105,7 @@ private class ListCommand { [Required] [DirectoryExists] - [Option(CommandOptionType.SingleValue, Description = "Required. Path where the various BBSAx.DAT files are located", ShortName = "i", LongName = "input")] + [Argument(0, Description = "Required. Path where the various BBSAx.DAT files are located")] public string InputPath { get; set; } [Option(CommandOptionType.SingleValue, Description = "Archive file name prefix. By default it is 'BBS'.", ShortName = "p", LongName = "prefix")] diff --git a/OpenKh.Command.IdxImg/Program.cs b/OpenKh.Command.IdxImg/Program.cs index c2a9aca3d..792ad7576 100644 --- a/OpenKh.Command.IdxImg/Program.cs +++ b/OpenKh.Command.IdxImg/Program.cs @@ -47,7 +47,7 @@ private class ExtractCommand [Required] [FileExists] - [Option(CommandOptionType.SingleValue, Description = "Required. Kingdom Hearts II IDX file, paired with a IMG", ShortName = "i", LongName = "idx")] + [Argument(0, Description = "Kingdom Hearts II IDX file, paired with a IMG")] public string InputIdx { get; set; } [FileExists] @@ -126,7 +126,7 @@ private class ListCommand [Required] [FileExists] - [Option(CommandOptionType.SingleValue, Description = "Required. Kingdom Hearts II IDX file, paired with a IMG", ShortName = "i", LongName = "idx")] + [Argument(0, Description = "Kingdom Hearts II IDX file, paired with a IMG")] public string InputIdx { get; set; } [Option(CommandOptionType.NoValue, Description = "Sort file list by their position in the IMG", ShortName = "s", LongName = "sort")]