" -C, --clear clear the cache completely (except configuration)\n"
" -F, --max-files=N set maximum number of files in cache to N (use 0 for\n"
" no limit)\n"
- " -k, --get-config=K get the value of the configuration key K\n"
+ " -k, --get-config=K get the value of the configuration key K\n"
" -M, --max-size=SIZE set maximum size of cache to SIZE (use 0 for no\n"
" limit); available suffixes: k, M, G, T (decimal) and\n"
" Ki, Mi, Gi, Ti (binary); default suffix: G\n"
int c;
while ((c = getopt_long(argc, argv, "cCk:hF:M:o:psVz", options, NULL))
- != -1) {
+ != -1) {
switch (c) {
case DUMP_MANIFEST:
manifest_dump(optarg, stdout);
mkstemp(char *template)
{
#ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
mktemp(template);
#ifdef __GNUC__
- #pragma GCC diagnostic pop
+ #pragma GCC diagnostic pop
#endif
return open(template, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600);
}
bool
cct_check_str_eq(const char *file, int line, const char *expression,
char *expected, char *actual,
- bool free1, bool free2)
+ bool free1, bool free2)
{
bool result;
CHECK(log);
CHECK(!conf_print_value(conf, "foo", log, &errmsg));
CHECK_STR_EQ_FREE2("unknown configuration option \"foo\"",
- errmsg);
+ errmsg);
fclose(log);
}
{