Print

Print


Commit in slic/src on MAIN
G4Application.cc+8-31.52 -> 1.53
Support customization of autoname from CL.

slic/src
G4Application.cc 1.52 -> 1.53
diff -u -r1.52 -r1.53
--- G4Application.cc	28 Sep 2005 22:21:12 -0000	1.52
+++ G4Application.cc	4 Oct 2005 01:05:25 -0000	1.53
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/slic/src/G4Application.cc,v 1.52 2005/09/28 22:21:12 jeremy Exp $
+// $Header: /cvs/lcd/slic/src/G4Application.cc,v 1.53 2005/10/04 01:05:25 jeremy Exp $
 #include "G4Application.hh"
 
 // slic
@@ -461,12 +461,17 @@
 					       1);
     cmd_mgr->addCmd(cmd_lcio_path, "/lcio/path" );
 
-    // automatically name the LCIO output file
+    /*
+     * Automatically name the LCIO output file.
+     *
+     * Customization is supported, as long as
+     * spaces are escaped.
+     */
     CmdLineOpt* cmd_autoname = new CmdLineOpt("O",
 					      "autoname",
 					      "Automatically name the LCIO output file.",
 					      0,
-					      0);
+					      1);
     cmd_mgr->addCmd(cmd_autoname, "/lcio/autoname" );
 
     // overwrite an LCIO output file if it exists already
CVSspam 0.2.8