comparison dropbearkey.c @ 1904:be236878efcf

Add -v variable debug levels for server too -vvvv is equivalent to the old -v
author Matt Johnston <matt@ucc.asn.au>
date Thu, 24 Mar 2022 14:44:13 +0800
parents 435cfb9ec96e
children 8b4274d34fe8
comparison
equal deleted inserted replaced
1903:9382271da9ef 1904:be236878efcf
193 printhelp(argv[0]); 193 printhelp(argv[0]);
194 exit(EXIT_SUCCESS); 194 exit(EXIT_SUCCESS);
195 break; 195 break;
196 #if DEBUG_TRACE 196 #if DEBUG_TRACE
197 case 'v': 197 case 'v':
198 debug_trace = 1; 198 debug_trace = DROPBEAR_VERBOSE_LEVEL;
199 break; 199 break;
200 #endif 200 #endif
201 default: 201 default:
202 fprintf(stderr, "Unknown argument %s\n", argv[i]); 202 fprintf(stderr, "Unknown argument %s\n", argv[i]);
203 printhelp(argv[0]); 203 printhelp(argv[0]);