Index: branches/eam_branches/ipp-20120627/Ohana/src/tools/src/glockfile.c
===================================================================
--- branches/eam_branches/ipp-20120627/Ohana/src/tools/src/glockfile.c	(revision 34121)
+++ branches/eam_branches/ipp-20120627/Ohana/src/tools/src/glockfile.c	(revision 34122)
@@ -5,6 +5,13 @@
   char *filename;
   double timeout;
-  int holdtime, state, type;
+  int N, holdtime, state, type;
   FILE *f;
+
+  timeout = 30.0;
+  if ((N = get_argument (argc, argv, "-timeout"))) {
+    remove_argument (N, &argc, argv);
+    timeout = atof (argv[N]);
+    remove_argument (N, &argc, argv);
+  }
 
   if (argc != 4) {
@@ -14,6 +21,4 @@
 
   filename = argv[1];
-  timeout = 30.0;
-
   holdtime = atoi (argv[3]);
 
