diff options
Diffstat (limited to 'src/command_manager.cc')
| -rw-r--r-- | src/command_manager.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command_manager.cc b/src/command_manager.cc index c7de0c71..a37105d1 100644 --- a/src/command_manager.cc +++ b/src/command_manager.cc @@ -355,11 +355,11 @@ std::pair<String, String> CommandManager::command_info(const String& command_lin return res; res.first = cmd->first; - auto& opts = cmd->second.param_desc.options; - if (not opts.empty()) + auto& switches = cmd->second.param_desc.switches; + if (not switches.empty()) { - res.second += "Flags:\n"; - res.second += generate_flags_doc(opts); + res.second += "Switches:\n"; + res.second += generate_switches_doc(switches); } return res; |
