MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / help

Function help

main.cpp:131–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130
131static void
132help(const char *argv0)
133{
134 fprintf(stderr, "%s: SigDigger launcher binary\n", argv0);
135 fprintf(stderr, "Usage:\n");
136 fprintf(stderr, " %s [options] \n\n", argv0);
137
138 fprintf(stderr, "Options:\n\n");
139 fprintf(stderr, " -t, --tool=\"tool name\" Tool to launch\n");
140 fprintf(stderr, " -h, --help This help\n\n");
141 fprintf(
142 stderr,
143 "Tool name can be either one of SigDigger (default) and RMSViewer\n\n");
144
145 fprintf(
146 stderr,
147 "Using suscan version %s (%s)\n",
148 suscan_api_version(),
149 suscan_pkgversion());
150
151 fprintf(
152 stderr,
153 "Using sigutils version %s (%s)\n\n",
154 sigutils_api_version(),
155 sigutils_pkgversion());
156
157 fprintf(stderr, "Copyright © 2020 Gonzalo José Carracedo Carballal\n");
158 fprintf(
159 stderr,
160 "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n");
161}
162
163static struct option long_options[] = {
164 {"tool", required_argument, nullptr, 't' },

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected