[Tinyos-commits] CVS: tinyos-1.x/tos/lib/VM/languages/motlle/src mload.mt, 1.6, 1.7

David Gay idgay at users.sourceforge.net
Wed Apr 19 16:54:56 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13846

Modified Files:
	mload.mt 
Log Message:
better usage message


Index: mload.mt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/tos/lib/VM/languages/motlle/src/mload.mt,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** mload.mt	1 Nov 2005 02:28:11 -0000	1.6
--- mload.mt	19 Apr 2006 23:54:53 -0000	1.7
***************
*** 10,14 ****
  any usage()
  {
!   pformat(stderr(), "Usage: mload [-h/--help] [-s/-m] [-e] [-c] <file or command>\n");
  }
  
--- 10,25 ----
  any usage()
  {
!   pformat(stderr(), "Usage: motlle-load [-h/--help] [-s/-m] [-e] [-c] <file or command>\n");
!   pformat(stderr(), "  Compiles and loads a motlle/scheme program on a mote accessible by a\n");
!   pformat(stderr(), "  serial forwarder on the localhost, port 9001.\n");
!   pformat(stderr(), "  You can also set the MOTLLEHOST environment variable to the name of a remote\n");
!   pformat(stderr(), "  host running a serial forwarder on port 9001.\n");
!   pformat(stderr(), "  \n");
!   pformat(stderr(), "  The conf.mt file describing the mote's VM must be in the current directory.\n");
!   pformat(stderr(), "  \n");
!   pformat(stderr(), "  -s: load a scheme program (override language specified in conf.mt)\n");
!   pformat(stderr(), "  -m: load a motlle program (override language specified in conf.mt)\n");
!   pformat(stderr(), "  -e: argument is a motlle or scheme expression, not a file name\n");
!   pformat(stderr(), "  -c: check for errors only, don't load\n");
  }
  



More information about the Tinyos-commits mailing list