MCPcopy Create free account
hub / github.com/apache/cloudberry / printUsage

Function printUsage

gpcontrib/gpcloud/bin/gpcheckcloud/gpcheckcloud.cpp:50–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50static void printUsage(FILE *stream) {
51 fprintf(stream,
52 "Usage: gpcheckcloud -c \"s3://endpoint/bucket/prefix "
53 "config=path_to_config_file [region=region_name]\", to check the configuration.\n"
54 " gpcheckcloud -d \"s3://endpoint/bucket/prefix "
55 "config=path_to_config_file [region=region_name]\", to download and output to stdout.\n"
56 " gpcheckcloud -u \"/path/to/file\" \"s3://endpoint/bucket/prefix "
57 "config=path_to_config_file [region=region_name]\", to upload a file.\n"
58 " gpcheckcloud -t, to show the config template.\n"
59 " gpcheckcloud -h, to show this help.\n");
60}
61
62// parse the arguments into char-string value pairs
63static map<char, string> parseCommandLineArgs(int argc, char *argv[]) {

Callers 3

parseCommandLineArgsFunction · 0.85
validateCommandLineArgsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected