MCPcopy Create free account
hub / github.com/DFHack/dfhack / fix_usage

Function fix_usage

library/include/PluginManager.h:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void fix_usage()
123 {
124 if (usage.size() && usage[usage.size() - 1] != '\n')
125 usage.push_back('\n');
126 }
127
128 bool isHotkeyCommand() const { return guard != NULL; }
129

Callers 1

PluginCommandFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected