@@ -6,7 +6,7 @@ namespace RagePhoto.Cli;
66internal static partial class Commands {
77
88 internal static Int32 CreateFunction ( String format , String ? imageFile , String ? description ,
9- String ? json , String ? title , String ? outputFile , bool imageAsIs ) {
9+ String ? json , String ? title , String ? outputFile , Boolean imageAsIs ) {
1010 try {
1111 using Photo photo = new ( ) ;
1212
@@ -159,7 +159,7 @@ internal static Int32 GetFunction(String inputFile, String dataType, String outp
159159 }
160160
161161 internal static Int32 SetFunction ( String inputFile , String ? format , String ? imageFile , String ? description ,
162- String ? json , String ? title , bool updateJson , String ? outputFile , bool imageAsIs ) {
162+ String ? json , String ? title , Boolean updateJson , String ? outputFile , Boolean imageAsIs ) {
163163 try {
164164 if ( format == null && imageFile == null && description == null
165165 && json == null && title == null && ! updateJson ) {
@@ -273,7 +273,7 @@ internal static Command CreateCommand {
273273 Option < String ? > outputOption = new ( "--output" , "-o" ) {
274274 Description = "Output File"
275275 } ;
276- Option < bool > imageAsIsOption = new ( "--image-as-is" ) {
276+ Option < Boolean > imageAsIsOption = new ( "--image-as-is" ) {
277277 Description = "Force image being set as-is"
278278 } ;
279279 Command createCommand = new ( "create" , "Create a new Photo" ) {
@@ -362,13 +362,13 @@ internal static Command SetCommand {
362362 Option < String ? > titleOption = new ( "--title" , "-t" ) {
363363 Description = "Title"
364364 } ;
365- Option < bool > updateJsonOption = new ( "--update-json" , "-u" ) {
365+ Option < Boolean > updateJsonOption = new ( "--update-json" , "-u" ) {
366366 Description = "Update JSON"
367367 } ;
368368 Option < String ? > outputOption = new ( "--output" , "-o" ) {
369369 Description = "Output File"
370370 } ;
371- Option < bool > imageAsIsOption = new ( "--image-as-is" ) {
371+ Option < Boolean > imageAsIsOption = new ( "--image-as-is" ) {
372372 Description = "Force image being set as-is"
373373 } ;
374374 Command setCommand = new ( "set" , "Set Data from a Photo" ) {
0 commit comments