command: added "commands" array instead of registering manually
The list of commands is known at compile time. Instead of creating a
linked list on startup, we can just register all commands in a static
sorted array.
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment