mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-11-09 13:15:17 +01:00
fix command options
This commit is contained in:
parent
89b430b62d
commit
03cb2edbac
1 changed files with 6 additions and 6 deletions
12
Program.cs
12
Program.cs
|
|
@ -115,7 +115,7 @@ internal static class Program {
|
|||
Description = "Data Type",
|
||||
DefaultValueFactory = _ => "jpeg"
|
||||
};
|
||||
Option<String> outputOption = new("output", "o") {
|
||||
Option<String> outputOption = new("--output", "-o") {
|
||||
Description = "Output File",
|
||||
DefaultValueFactory = _ => "-"
|
||||
};
|
||||
|
|
@ -135,19 +135,19 @@ internal static class Program {
|
|||
Argument<FileInfo> photoArgument = new("photo") {
|
||||
Description = "Photo File"
|
||||
};
|
||||
Option<String?> formatOption = new("format", "f") {
|
||||
Option<String?> formatOption = new("--format", "-f") {
|
||||
Description = "Photo Format"
|
||||
};
|
||||
Option<String?> jpegOption = new("jpeg") {
|
||||
Option<String?> jpegOption = new("--jpeg") {
|
||||
Description = "JPEG File"
|
||||
};
|
||||
Option<String?> jsonOption = new("json") {
|
||||
Option<String?> jsonOption = new("--json") {
|
||||
Description = "Photo JSON"
|
||||
};
|
||||
Option<String?> titleOption = new("title", "t") {
|
||||
Option<String?> titleOption = new("--title", "-t") {
|
||||
Description = "Photo Title"
|
||||
};
|
||||
Option<FileInfo?> outputOption = new("output", "o") {
|
||||
Option<FileInfo?> outputOption = new("--output", "-o") {
|
||||
Description = "Output File"
|
||||
};
|
||||
Command setCommand = new("set", "Set Photo Data") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue