summaryrefslogtreecommitdiff
path: root/src/command_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-02-11 22:23:44 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-03-02 01:08:11 +0000
commit486d1269e08552008b9eecc9841caa0d98e3d0b2 (patch)
tree2ee1eeaf49c643e4989f284fdf1cc90cd730d771 /src/command_manager.cc
parent945178264870aa076e3675da6d06e46935093f50 (diff)
Consistently name -foo things 'switches'
Diffstat (limited to 'src/command_manager.cc')
-rw-r--r--src/command_manager.cc8
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;