From 03cb2edbac8ce70e0853b9c6844f2e686a373eda Mon Sep 17 00:00:00 2001 From: Syping Date: Fri, 24 Oct 2025 00:54:56 +0200 Subject: [PATCH] fix command options --- Program.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Program.cs b/Program.cs index 9e7e47e..36e8d02 100644 --- a/Program.cs +++ b/Program.cs @@ -115,7 +115,7 @@ internal static class Program { Description = "Data Type", DefaultValueFactory = _ => "jpeg" }; - Option outputOption = new("output", "o") { + Option outputOption = new("--output", "-o") { Description = "Output File", DefaultValueFactory = _ => "-" }; @@ -135,19 +135,19 @@ internal static class Program { Argument photoArgument = new("photo") { Description = "Photo File" }; - Option formatOption = new("format", "f") { + Option formatOption = new("--format", "-f") { Description = "Photo Format" }; - Option jpegOption = new("jpeg") { + Option jpegOption = new("--jpeg") { Description = "JPEG File" }; - Option jsonOption = new("json") { + Option jsonOption = new("--json") { Description = "Photo JSON" }; - Option titleOption = new("title", "t") { + Option titleOption = new("--title", "-t") { Description = "Photo Title" }; - Option outputOption = new("output", "o") { + Option outputOption = new("--output", "-o") { Description = "Output File" }; Command setCommand = new("set", "Set Photo Data") {