[Liblas-commits] hg: 2 new changesets

liblas-commits at liblas.org liblas-commits at liblas.org
Tue Oct 12 15:36:18 EDT 2010


changeset 0beda68ff2cf in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=0beda68ff2cf
summary: use dash instead of underscore for generating-software and system-identifier options

changeset de7c5780d98b in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=de7c5780d98b
summary: use dash instead of underscore for generating-software and system-identifier options

diffstat:

 apps/laskernel.cpp        |  12 ++++++------
 doc/utilities/las2las.txt |   4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r 2dcb73ca71fd -r de7c5780d98b apps/laskernel.cpp
--- a/apps/laskernel.cpp	Tue Oct 12 18:16:59 2010 +0100
+++ b/apps/laskernel.cpp	Tue Oct 12 14:36:10 2010 -0500
@@ -303,8 +303,8 @@
         ("add-schema", po::value<bool>()->zero_tokens(), "Add the liblas.org schema VLR record to the file.")
         ("delete-vlr", po::value<std::vector<std::string> >()->multitoken(), "Removes VLRs with the given name and id combination. --delete-vlr LASF_Projection 34737")
         ("add-vlr", po::value<std::vector<std::string> >()->multitoken(), "Add VLRs with the given name and id combination. --add-vlr hobu 1234 \"Description of the VLR\" \"filename.ext\"")
-        ("system_identifier", po::value<std::string>(), "Set the SystemID for the file. --system_identifier \"MODIFICATION\"")
-        ("generating_software", po::value<std::string>(), "Set the SoftwareID for the file. --generating_software \"liblas.org\"")
+        ("system-identifier", po::value<std::string>(), "Set the SystemID for the file. --system_identifier \"MODIFICATION\"")
+        ("generating-software", po::value<std::string>(), "Set the SoftwareID for the file. --generating_software \"liblas.org\"")
 
     ;
     
@@ -1040,9 +1040,9 @@
         header.AddVLR(v);
     }
 
-    if (vm.count("generating_software")) 
+    if (vm.count("generating-software")) 
     {
-        std::string software = vm["generating_software"].as< std::string >();
+        std::string software = vm["generating-software"].as< std::string >();
         if (verbose)
         {
 
@@ -1051,9 +1051,9 @@
         header.SetSoftwareId(software);
     }
 
-    if (vm.count("system_identifier")) 
+    if (vm.count("system-identifier")) 
     {
-        std::string id = vm["system_identifier"].as< std::string >();
+        std::string id = vm["system-identifier"].as< std::string >();
         
 
         if (verbose)
diff -r 2dcb73ca71fd -r de7c5780d98b doc/utilities/las2las.txt
--- a/doc/utilities/las2las.txt	Tue Oct 12 18:16:59 2010 +0100
+++ b/doc/utilities/las2las.txt	Tue Oct 12 14:36:10 2010 -0500
@@ -285,9 +285,9 @@
       --add-vlr arg             Add VLRs with the given name and id combination. 
                                 --add-vlr hobu 1234 "Description of the VLR" 
                                 "filename.ext"
-      --system_identifier arg   Set the SystemID for the file. --system_identifier 
+      --system-identifier arg   Set the SystemID for the file. --system_identifier 
                                 "MODIFICATION"
-      --generating_software arg Set the SoftwareID for the file. 
+      --generating-software arg Set the SoftwareID for the file. 
                                 --generating_software "liblas.org"
 
     Transformation options:


More information about the Liblas-commits mailing list