[Mobies-commit] [commit] r4117 - UDM/trunk/src/UdmCopy
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Wed Oct 3 10:09:59 CDT 2012
Author: ksmyth
Date: Wed Oct 3 10:09:59 2012
New Revision: 4117
Log:
Need string.h for strcmp on Linux
Modified:
UDM/trunk/src/UdmCopy/UdmCopy.cpp
Modified: UDM/trunk/src/UdmCopy/UdmCopy.cpp
==============================================================================
--- UDM/trunk/src/UdmCopy/UdmCopy.cpp Wed Oct 3 09:40:11 2012 (r4116)
+++ UDM/trunk/src/UdmCopy/UdmCopy.cpp Wed Oct 3 10:09:59 2012 (r4117)
@@ -21,6 +21,7 @@
#include <UdmUtil.h>
#include <cstdlib>
+#include <string.h>
/*
static Diagram linkdiag;
@@ -138,9 +139,10 @@
}
if(argc != 4 && argc != 5) {
- cout << "Usage: UdmCopy <indataname> <outdataname> <diagramname> [<metalocator>]" << endl;
+ cout << "Usage: UdmCopy [-f] <indataname> <outdataname> <diagramname> [<metalocator>]" << endl;
cout << " where: <diagramname>: Udm .xml file" << endl;
cout << " <metalocator>: .xsd file" << endl;
+ cout << " -f flatten: remove libraries from output" << endl;
cout << " The .xsd must be in the current directory or PATH, or <metalocator> must be specified." << endl;
cout << " Example mga->xml: UdmCopy model.mga model.xml paradigm.xml" << endl;
cout << " Example mga->xml: UdmCopy model.mga model.xml path-to/paradigm.xml path-to/paradigm.xsd" << endl;
More information about the Mobies-commit
mailing list