[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/utils/charm
From:       Mirko Boehm <mirko () kde ! org>
Date:       2009-05-07 21:31:06
Message-ID: 1241731866.822177.19141.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 965075 by mirko:

 r56654@cutiepie:  mirko | 2009-05-06 22:29:00 +0200
 - bump version
 - update command line parsing to reflect the changes


 _M            . (directory)  
 M  +1 -1      trunk/Core/CharmVersion.h  
 M  +6 -2      trunk/Tools/TimesheetProcessor/CommandLine.cpp  


--- trunk/playground/utils/charm/trunk/Core/CharmVersion.h #965074:965075
@@ -1,6 +1,6 @@
 #ifndef CHARM_VERSION_H
 #define CHARM_VERSION_H
 
-#define CHARM_VERSION "1.3.0"
+#define CHARM_VERSION "1.4.0"
 
 #endif
--- trunk/playground/utils/charm/trunk/Tools/TimesheetProcessor/CommandLine.cpp \
#965074:965075 @@ -174,7 +174,7 @@
 	{
 		msg += QObject::tr("No mode selected. Use one of -a filename, -r.");
 	}
-	else if (m_mode == Mode_AddTimesheet || m_mode == Mode_RemoveTimesheet)
+	else if ( m_mode == Mode_RemoveTimesheet)
 	{
 		if (m_index < 1)
 		{
@@ -187,7 +187,11 @@
 			msg += QObject::tr("No userid specified. -a filename, "
 				" -r require a user id specified with -u.");
 		}
-	}
+	} else if ( m_mode == Mode_AddTimesheet ) {
+            if ( m_index > 0 ) {
+                msg += QObject::tr( "Specifying an index when adding a time sheet is \
not supported anymore." ); +            }
+        }
 
 	if (!msg.isEmpty())
 	{


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic