Update of /cvsroot/nice/Nice/stdlib/nice/doc
In directory sc8-pr-cvs1:/tmp/cvs-serv9737/F:/nice/stdlib/nice/doc
Modified Files:
commands.nice man.nice
Log Message:
Minor correction.
Index: commands.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/doc/commands.nice,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** commands.nice 28 Jul 2003 19:42:24 -0000 1.3
--- commands.nice 28 Jul 2003 21:54:27 -0000 1.4
***************
*** 45,49 ****
StringBuffer res = new StringBuffer("Usage: ");
res.append(prg.name);
! res.append(" [OPTIONS]");
if (prg.arguments != null)
res.append(' ').append(notNull(prg.arguments).toUpperCase());
--- 45,50 ----
StringBuffer res = new StringBuffer("Usage: ");
res.append(prg.name);
! if (prg.options.length != 0)
! res.append(" [OPTIONS]");
if (prg.arguments != null)
res.append(' ').append(notNull(prg.arguments).toUpperCase());
Index: man.nice
===================================================================
RCS file: /cvsroot/nice/Nice/stdlib/nice/doc/man.nice,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** man.nice 28 Jul 2003 19:42:24 -0000 1.7
--- man.nice 28 Jul 2003 21:54:27 -0000 1.8
***************
*** 64,68 ****
StringBuffer res = new StringBuffer();
res.append(".B ").append(prg.name).append("\n\\&");
! res.append("[options]");
if (prg.arguments != null)
res.append(' ').append(prg.arguments);
--- 64,69 ----
StringBuffer res = new StringBuffer();
res.append(".B ").append(prg.name).append("\n\\&");
! if (prg.options.length != 0)
! res.append("[options]");
if (prg.arguments != null)
res.append(' ').append(prg.arguments);
|