Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/commandbuffer.cc')
-rw-r--r--src/core/commandbuffer.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/commandbuffer.cc b/src/core/commandbuffer.cc
index d46cc38..78b76af 100644
--- a/src/core/commandbuffer.cc
+++ b/src/core/commandbuffer.cc
@@ -49,10 +49,13 @@ void func_list_info(std::string const &args)
std::istringstream argstream(args);
if (!(argstream >> typestr)) {
- // no argument, list all info records
- Info::list();
+ // no arguments, list info types
+ InfoType::list();
+ con_print << " list_info [type] list all info records for a specified type" << std::endl;
return;
}
+
+ aux::to_label(typestr);
Info *info = 0;
InfoType *infotype = InfoType::find(typestr);
@@ -87,6 +90,8 @@ void func_list_info(std::string const &args)
return;
}
+ aux::to_label(labelstr);
+
// two arguments
info = Info::find(infotype, labelstr);
if (info) {