MCPcopy Create free account
hub / github.com/coreboot/coreboot / print_version

Function print_version

util/ectool/ectool.c:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#define ECTOOL_VERSION "0.1"
29
30void print_version(void)
31{
32 printf("ectool v%s -- ", ECTOOL_VERSION);
33 printf("Copyright (C) 2008-2009 coresystems GmbH\n\n");
34 printf(
35 "This program is free software: you can redistribute it and/or modify\n"
36 "it under the terms of the GNU General Public License as published by\n"
37 "the Free Software Foundation, version 2 of the License.\n\n"
38 "This program is distributed in the hope that it will be useful,\n"
39 "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
40 "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
41 "GNU General Public License for more details.\n\n");
42}
43
44void print_usage(const char *name)
45{

Callers 1

mainFunction · 0.70

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected