Index: /branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.basic/list.c
===================================================================
--- /branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.basic/list.c	(revision 33621)
+++ /branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.basic/list.c	(revision 33622)
@@ -105,6 +105,14 @@
     }
     
+    // old list must exist, or give an error
     sprintf (line, "%s:n", argv[3]);
     N = get_int_variable (line, &found);
+    if (!found) {
+      gprint (GP_ERR, "USAGE: list (newlist) -copy (oldlist) ...\n");
+      gprint (GP_ERR, "ERROR: missing input list\n");
+      return (FALSE);
+    }
+      
+
     sprintf (line, "%s:n", argv[1]);
     set_int_variable (line, N);
