BIND 10 trac764, updated. 0529433796c0024e9345edd3c458e22e1aec9043 [trac1093] argument order problem

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jul 7 08:27:31 UTC 2011


The branch, trac764 has been updated
       via  0529433796c0024e9345edd3c458e22e1aec9043 (commit)
      from  e2127bd275b2263f06d7ba039123411c9b7cf07d (commit)

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 0529433796c0024e9345edd3c458e22e1aec9043
Author: Jelte Jansen <jelte at isc.org>
Date:   Thu Jul 7 10:26:23 2011 +0200

    [trac1093] argument order problem
    
    also fixed usage output and doxygen description

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

Summary of changes:
 src/lib/log/compiler/message.cc       |    8 +++++---
 src/lib/python/isc/config/Makefile.am |    2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/compiler/message.cc b/src/lib/log/compiler/message.cc
index 872921c..e280728 100644
--- a/src/lib/log/compiler/message.cc
+++ b/src/lib/log/compiler/message.cc
@@ -55,13 +55,15 @@ static const char* VERSION = "1.0-0";
 /// \b Invocation<BR>
 /// The program is invoked with the command:
 ///
-/// <tt>message [-v | -h | \<message-file\>]</tt>
+/// <tt>message [-v | -h | -p | -d <dir> | \<message-file\>]</tt>
 ///
 /// It reads the message file and writes out two files of the same name in the
 /// default directory but with extensions of .h and .cc.
 ///
 /// \-v causes it to print the version number and exit. \-h prints a help
-/// message (and exits).
+/// message (and exits). -p sets the output to python. -d <dir> will make
+/// it write the output file(s) to dir instead of current working
+/// directory
 
 
 /// \brief Print Version
@@ -80,7 +82,7 @@ version() {
 void
 usage() {
     cout <<
-        "Usage: message [-h] [-v] [-p] <message-file>\n" <<
+        "Usage: message [-h] [-v] [-p] [-d dir] <message-file>\n" <<
         "\n" <<
         "-h       Print this message and exit\n" <<
         "-v       Print the program version and exit\n" <<
diff --git a/src/lib/python/isc/config/Makefile.am b/src/lib/python/isc/config/Makefile.am
index ca9e7e0..185d101 100644
--- a/src/lib/python/isc/config/Makefile.am
+++ b/src/lib/python/isc/config/Makefile.am
@@ -10,7 +10,7 @@ cfgmgr_messages.py: cfgmgr_messages.mes
 	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/lib/python/isc/config/cfgmgr_messages.mes
 
 $(top_builddir)/src/lib/python/config_messages.py: config_messages.mes
-	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/lib/python/isc/config/config_messages.mes -d $(top_builddir)/src/lib/python
+	$(top_builddir)/src/lib/log/compiler/message -p -d $(top_builddir)/src/lib/python $(top_srcdir)/src/lib/python/isc/config/config_messages.mes
 
 CLEANFILES =  cfgmgr_messages.py cfgmgr_messages.pyc
 CLEANFILES += $(top_builddir)/src/lib/python/config_messages.py




More information about the bind10-changes mailing list