FOSSology
4.4.0
Open Source License Compliance by Open Source Software
usage.c
Go to the documentation of this file.
1
/*
2
SPDX-FileCopyrightText: © 2013 Hewlett-Packard Development Company, L.P.
3
SPDX-FileCopyrightText: © 2019 Siemens AG
4
5
SPDX-License-Identifier: GPL-2.0-only
6
*/
12
#include "maintagent.h"
13
18
FUNCTION
void
usage
(
char
*name)
19
{
20
printf(
"Usage: %s [options]\n"
, name);
21
printf(
" -a :: Run all non slow maintenance operations.\n"
);
22
printf(
" -A :: Run all maintenance operations.\n"
);
23
printf(
" -D :: Vacuum Analyze the database.\n"
);
24
printf(
" -F :: Validate folder contents.\n"
);
25
printf(
" -g :: Delete orphan gold files.\n"
);
26
printf(
" -h :: Print help (usage).\n"
);
27
printf(
" -l # :: Remove log from file system older than # in YYYY-MM-DD.\n"
);
28
printf(
" -L :: Remove orphaned logs from file system.\n"
);
29
printf(
" -N :: Normalize the (internal) priority numbers.\n"
);
30
printf(
" -p :: Verify file permissions (report only).\n"
);
31
printf(
" -P :: Verify and fix file permissions.\n"
);
32
printf(
" -R :: Remove uploads with no pfiles.\n"
);
33
printf(
" -t # :: Remove personal access tokens expired # days ago.\n"
);
34
printf(
" -T :: Remove orphaned temp tables.\n"
);
35
printf(
" -U :: Process expired uploads (slow).\n"
);
36
printf(
" -Z :: Remove orphaned files from the repository (slow).\n"
);
37
printf(
" -E :: Remove orphaned rows from database (slow).\n"
);
38
printf(
" -i :: Initialize the database, then exit.\n"
);
39
printf(
" -I :: Reindexing of database (This activity may take 5-10 mins. Execute only when system is not in use).\n"
);
40
printf(
" -v :: verbose (turns on debugging output)\n"
);
41
printf(
" -V :: print the version info, then exit.\n"
);
42
printf(
" -c SYSCONFDIR :: Specify the directory for the system configuration. \n"
);
43
}
/* Usage() */
usage
FUNCTION void usage(char *name)
Definition:
usage.c:18
src
maintagent
agent
usage.c
Generated on Mon Nov 18 2024 07:37:12 for FOSSology by
1.9.1