secureswitools/swisistools/source/interpretsis/commandparser.cpp
branchRCL_3
changeset 25 7333d7932ef7
parent 24 5cc91383ab1e
child 26 8b7f4e561641
--- a/secureswitools/swisistools/source/interpretsis/commandparser.cpp	Thu Aug 19 10:02:49 2010 +0300
+++ b/secureswitools/swisistools/source/interpretsis/commandparser.cpp	Tue Aug 31 15:21:33 2010 +0300
@@ -121,6 +121,11 @@
 		<< "\t\t[-t romstubdir] [-n language_code] [-i config_file] \n"
 		<< "\t\t[-x pkgUID[,pkgUID2,...]] [-w [off | error | warn | info]] [-l logfile]\n\n"
 		<< "Where:\t-h\t\tDisplays help\n"
+		#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
+		<< "\t-a\t\tThe path representing the location of Resource files\n"
+		<< "\t  \t\tSpecifying the ROM Drive (-z) is mandatory.\n"
+		<< "\t  \t\tLocalize resource file is read from (Rom_drive\\path_specified_in_resource_file)\n"
+		#endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
 		<< "\t-c\t\tThe directory representing the system drive on the device\n"
 		<< "\t-d\t\tThe system drive letter [default to 'C']\n"
 		<< "\t-e\t\tDisable eclipsing and SID checks using Z drive \n"
@@ -170,8 +175,8 @@
 
 void CCommandParser::DisplayVersion()
 	{
-	std::cout << "\nINTERPRETSIS  " << " Version  2.2.0 ." << std::endl;
-	std::cout << "Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.\n " << std::endl;
+	std::cout << "\nINTERPRETSIS  " << " Version  3.0.0 ." << std::endl;
+	std::cout << "Copyright (c) 2009 Symbian Software Ltd. All rights reserved.\n " << std::endl;
 	}
  
 
@@ -208,6 +213,17 @@
 
 		switch (toupper(*++optPtr))
 		    {
+			#ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
+			case 'A':
+				{
+				if (argc <= 1)
+					throw CCommandParser::ECmdLineNoDirArgument;
+				
+				--argc;
+				aParamList->SetResourceFilePath(*(++argv));
+				break;	
+				}
+			#endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
 			case 'C':
 				{
 				if (argc <= 1)
@@ -216,6 +232,7 @@
 				--argc;
 				aParamList->SetSystemDrive(*(++argv));
 				break;
+				
 				}
 			case 'D':
 				{	
@@ -224,7 +241,7 @@
 				ConvertMultiByteToWideChar(*++argv,-1, buf, 2048);
 				aParamList->SetSystemDriveLetter(tolower(buf[0]));
 				break;
-				}
+				}					
 			case 'E':
 				{
 				aParamList->SetFlag(CParameterList::EFlagsDisableZDriveChecksSet);