</para>
</section>
- <section xml:id="cmd-reservation-get">
+ <section xml:id="command-reservation-get">
<title>reservation-get command</title>
<para><command>reservation-get</command> can be used to query the host
database and retrieve existing reservations. There are two types of
</section>
- <section xml:id="cmd-reservation-del">
+ <section xml:id="command-reservation-del">
<title>reservation-del command</title>
<para><command>reservation-del</command> can be used to delete a
reservation from the host database. There are two types of parameters
<< endl << endl;
// description and examples
- f << "<para>Description and examples: See <xref linkend=\"cmd-"
+ f << "<para>Description and examples: See <xref linkend=\"command-"
<< cmd->get("name")->stringValue() << "\"/></para>" << endl << endl;
// Command syntax:
<< " <screen>" << escapeString(cmd->get("cmd-syntax")->stringValue())
<< "</screen>"
<< endl;
- if (cmd->get("cmd-comment")) {
+ if (cmd->contains("cmd-comment")) {
f << cmd->get("cmd-comment")->stringValue();
}
f << "</para>" << endl << endl;
// Response syntax
f << "<para>Response syntax:" << endl
<< " <screen>";
- if (cmd->get("resp->syntax")) {
+
+ if (cmd->contains("resp-syntax")) {
f << escapeString(cmd->get("resp-syntax")->stringValue());
} else {
f << escapeString(standardResponseSyntax());