clang-format pass
This commit is contained in:
@@ -9,5 +9,6 @@ bool cconfig_hook_config_init(
|
||||
const char *usage_header,
|
||||
enum cconfig_cmd_usage_out cmd_usage_out)
|
||||
{
|
||||
return cconfig_main_config_init(config, "--config", NULL, "--help", "-h", usage_header, cmd_usage_out);
|
||||
return cconfig_main_config_init(
|
||||
config, "--config", NULL, "--help", "-h", usage_header, cmd_usage_out);
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/**
|
||||
* Init function for cconfig for hooks
|
||||
*
|
||||
*
|
||||
* calls cconfig_main_config_init with some defaults for hook dlls
|
||||
* see: cconfig_main_config_init for more details
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,8 @@ bool cconfig_main_config_init(
|
||||
args_recover(&argc, &argv);
|
||||
|
||||
for (int i = 0; i < argc; i++) {
|
||||
if (!strcmp(argv[i], help_parameter_short_name) || !strcmp(argv[i], help_parameter_name)) {
|
||||
if (!strcmp(argv[i], help_parameter_short_name) ||
|
||||
!strcmp(argv[i], help_parameter_name)) {
|
||||
goto failure_usage;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
/**
|
||||
* Init function for cconfig after all cconfig_util_set's have been called
|
||||
*
|
||||
*
|
||||
* will parse a config file first (if specified)
|
||||
* then uses override config parameters from cmd
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user