]> git.mxchange.org Git - simgear.git/blobdiff - simgear/structure/commands.hxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / structure / commands.hxx
index 2ffabf0ac12370b535eb9c65f3675fe24b66bdad..7f4185ec421fad63aa33b4b5ae3f336dfc09baee 100644 (file)
@@ -101,11 +101,11 @@ public:
   /**
    * Register a new command with the manager.
    *
-   * @param name The command name.  Any existing command with
-   * the same name will silently be overwritten.
-   * @param command A pointer to a one-arg function returning
-   * a bool result.  The argument is always a const pointer to
-   * an SGPropertyNode (which may contain multiple values).
+   * @param name    The command name. Any existing command with the same name
+   *                will silently be overwritten.
+   * @param f       A pointer to a one-arg function returning a bool result. The
+   *                argument is always a const pointer to an SGPropertyNode
+   *                (which may contain multiple values).
    */
   void addCommand(const std::string& name, command_t f)
   { addCommandObject(name, new FunctionCommand(f)); }