@@ -31,7 +31,6 @@ struct SDCliParams {
3131 std::string output_path = " output.png" ;
3232
3333 bool verbose = false ;
34- bool version = false ;
3534 bool canny_preprocess = false ;
3635
3736 preview_t preview_method = PREVIEW_NONE;
@@ -74,10 +73,6 @@ struct SDCliParams {
7473 " --verbose" ,
7574 " print extra info" ,
7675 true , &verbose},
77- {" " ,
78- " --version" ,
79- " print stable-diffusion.cpp version" ,
80- true , &version},
8176 {" " ,
8277 " --color" ,
8378 " colors the logging tags according to level" ,
@@ -354,9 +349,6 @@ int main(int argc, const char* argv[]) {
354349 SDGenerationParams gen_params;
355350
356351 parse_args (argc, argv, cli_params, ctx_params, gen_params);
357- if (cli_params.verbose || cli_params.version ) {
358- std::cout << version_string () << " \n " ;
359- }
360352 if (gen_params.video_frames > 4 ) {
361353 size_t last_dot_pos = cli_params.preview_path .find_last_of (" ." );
362354 std::string base_path = cli_params.preview_path ;
@@ -384,12 +376,11 @@ int main(int argc, const char* argv[]) {
384376 cli_params.preview_noisy ,
385377 (void *)&cli_params);
386378
387- if (cli_params.verbose ) {
388- LOG_INFO (" %s" , sd_get_system_info ());
389- LOG_INFO (" %s" , cli_params.to_string ().c_str ());
390- LOG_INFO (" %s" , ctx_params.to_string ().c_str ());
391- LOG_INFO (" %s" , gen_params.to_string ().c_str ());
392- }
379+ LOG_DEBUG (" version: %s" , version_string ().c_str ());
380+ LOG_DEBUG (" %s" , sd_get_system_info ());
381+ LOG_DEBUG (" %s" , cli_params.to_string ().c_str ());
382+ LOG_DEBUG (" %s" , ctx_params.to_string ().c_str ());
383+ LOG_DEBUG (" %s" , gen_params.to_string ().c_str ());
393384
394385 if (cli_params.mode == CONVERT) {
395386 bool success = convert (ctx_params.model_path .c_str (),
0 commit comments