add missing options

This commit is contained in:
Syping 2025-10-27 04:28:00 +01:00
parent cbfe5dc100
commit a406e079c5

View file

@ -326,7 +326,7 @@ internal static class Program {
Description = "Photo Title" Description = "Photo Title"
}; };
Command createCommand = new("create", "Create Photo") { Command createCommand = new("create", "Create Photo") {
formatArgument, jpegArgument, outputArgument, descriptionOption, titleOption formatArgument, jpegArgument, outputArgument, descriptionOption, jsonOption, titleOption
}; };
createCommand.SetAction(result => Create( createCommand.SetAction(result => Create(
result.GetRequiredValue(formatArgument), result.GetRequiredValue(formatArgument),
@ -397,7 +397,7 @@ internal static class Program {
Description = "Output File" Description = "Output File"
}; };
Command setCommand = new("set", "Set Photo Data") { Command setCommand = new("set", "Set Photo Data") {
photoArgument, formatOption, jpegOption, descriptionOption, jsonOption, titleOption, outputOption photoArgument, formatOption, jpegOption, descriptionOption, jsonOption, titleOption, updateSignOption, outputOption
}; };
setCommand.SetAction(result => Set( setCommand.SetAction(result => Set(
result.GetRequiredValue(photoArgument), result.GetRequiredValue(photoArgument),