mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Make daemon interactive commands ordered again
This commit is contained in:
parent
a0079aa154
commit
52faa1a2e1
|
@ -423,7 +423,7 @@ eof:
|
|||
public:
|
||||
using callback = std::function<bool(const std::vector<std::string> &)>;
|
||||
using empty_callback = std::function<bool()>;
|
||||
using lookup = std::unordered_map<std::string, std::pair<callback, std::pair<std::string, std::string>>>;
|
||||
using lookup = std::map<std::string, std::pair<callback, std::pair<std::string, std::string>>>;
|
||||
|
||||
/// Go through registered commands in sorted order, call the function with three string
|
||||
/// arguments: command name, usage, and description.
|
||||
|
|
Loading…
Reference in a new issue