MCPcopy Index your code
hub / github.com/NetHack/NetHack / usage

Function usage

util/sfctool.c:1265–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1263}
1264
1265staticfn void
1266usage(int argc UNUSED, char **argv)
1267{
1268 char *cp = argv[0], *sep = (char *) 0;
1269
1270 if ((sep = strrchr(cp, '/')) || (sep = strrchr(cp, '\\'))
1271 || (sep = strrchr(cp, ':')))
1272 cp = sep + 1;
1273 fprintf(stderr,
1274 "\nTo convert a savefile to export format:\n %s %s %s\n", cp,
1275 "-c", "savefile");
1276 fprintf(stderr,
1277 "\nTo unconvert an exported savefile back into a savefile:\n %s %s %s\n", cp,
1278 "-u", "savefile");
1279}
1280/* sfctool.c */

Callers 1

mainFunction · 0.70

Calls 2

strrchrFunction · 0.85
fprintfFunction · 0.85

Tested by

no test coverage detected