[Fawkes Git] branch/jrothe/plugin_generator: plugin_generator: add missing newline

Johannes Rothe johannes.rothe at rwth-aachen.de
Mon May 23 16:44:35 CEST 2016


Changes have been pushed for the project "Fawkes Robotics Software Framework".

Gitweb: http://git.fawkesrobotics.org/fawkes.git
Trac:   http://trac.fawkesrobotics.org

The branch, jrothe/plugin_generator has been updated
        to  64ee60bc7513ab1bba700775c72921ad81aa078e (commit)
      from  02fbcd8f2a846fc4a84416774290cb98849f7cf4 (commit)

http://git.fawkesrobotics.org/fawkes.git/jrothe/plugin_generator

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- *Log* ---------------------------------------------------------------
commit 64ee60bc7513ab1bba700775c72921ad81aa078e
Author:     Johannes Rothe <johannes.rothe at rwth-aachen.de>
AuthorDate: Mon May 23 16:41:59 2016 +0200
Commit:     Johannes Rothe <johannes.rothe at rwth-aachen.de>
CommitDate: Mon May 23 16:41:59 2016 +0200

    plugin_generator: add missing newline

http://git.fawkesrobotics.org/fawkes.git/commit/64ee60b
http://trac.fawkesrobotics.org/changeset/64ee60b

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


- *Summary* -----------------------------------------------------------
 src/tools/plugin_generator/main.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


- *Diffs* -------------------------------------------------------------

- *commit* 64ee60bc7513ab1bba700775c72921ad81aa078e - - - - - - - - - -
Author:  Johannes Rothe <johannes.rothe at rwth-aachen.de>
Date:    Mon May 23 16:41:59 2016 +0200
Subject: plugin_generator: add missing newline

 src/tools/plugin_generator/main.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

_Diff for modified files_:
diff --git a/src/tools/plugin_generator/main.cpp b/src/tools/plugin_generator/main.cpp
index b93fc8b..3051a0e 100644
--- a/src/tools/plugin_generator/main.cpp
+++ b/src/tools/plugin_generator/main.cpp
@@ -46,7 +46,7 @@ print_usage(const char *program_name)
 	 "                            ~/fawkes/src/plugins/robot_mover/"
 	 "\n"
          "-h  Print this usage information\n\n"
-         "Generate the necessary files to build a fawkes plugin",
+         "Generate the necessary files to build a fawkes plugin\n",
 	 program_name, program_name);
 }
 
@@ -57,6 +57,7 @@ generate_plugin(std::string author_name, std::string plugin_name, std::string de
   std::string date = ctime(&now);
   tm *time_structure = localtime(&now);
   std::string year = std::to_string(time_structure->tm_year + 1900);
+  //TimeStructure's year is the number of years since 1900
 
   PluginGenerator *generator = new PluginGenerator(directory, author_name, year , date, plugin_name, description);
   generator->generate();




-- 
Fawkes Robotics Framework                 http://www.fawkesrobotics.org


More information about the fawkes-commits mailing list