mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
Replaced argp support for platforms that support it
Argp is really useful, but it's not mandatory.
This commit is contained in:
@@ -9,8 +9,11 @@ int torture_libssh_verbosity(void){
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
struct argument_s arguments;
|
||||
|
||||
return torture_run_tests();
|
||||
arguments.verbose=0;
|
||||
torture_cmdline_parse(argc, argv, &arguments);
|
||||
verbosity=arguments.verbose;
|
||||
|
||||
return torture_run_tests();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user