Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#185] Bring command line help text into parity with man page.

Date:
2017-08-27 22:31
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
None
Operating System:
All
Component:
Compiler
Resolution:
Fixed
Severity:
Cosmetic
OS Version:
SML/NJ Version:
110.81
Keywords:
URL:
Transcript (of reproduction):
Source (for reproduction):
Summary:
Bring command line help text into parity with man page.

Detailed description
The -h help text is missing some options present in the sml.1 manual page.
The attached adds the missing options,
and reorders an existing option to reflect the order presented in the manual page.
Additional comments:
Testing this out by running config/install.sh did not show new help text,
I went through the process here: http://www.smlnj.org/doc/CM/btcomp/node5.html
to check it, not sure if that is normal or not.

Fix:
Index: base/cm/main/cm-boot.sml
===================================================================
--- base/cm/main/cm-boot.sml (revision 4397)
+++ base/cm/main/cm-boot.sml (working copy)
@@ -730,10 +730,13 @@
\\n\
\ rtsargs:\n\
\ @SMLload=<h> (start specified heap image)\n\
+ \ @SMLrun=<r> (specify runtime system)\n\
+ \ @SMLversion (echo the version of SML/NJ then exit)\n\
+ \ @SMLsuffix (echo heap suffix for the system then exit)\n\
\ @SMLalloc=<s> (specify size of allocation area)\n\
\ @SMLcmdname=<n> (set command name)\n\
+ \ @SMLverbose (show heap image load progress)\n\
\ @SMLquiet (load heap image silently)\n\
- \ @SMLverbose (show heap image load progress)\n\
\ @SMLobjects (show list of executable objects)\n\
\ @SMLdebug=<f> (write debugging info to file)\n\
\\n\


Submitted via web form by matt rice <ratmice@gmail.com>

Comments:

Message  ↓
Date: 2017-08-28 14:28
Sender: John Reppy

Fixed for 110.82; also made some changes to the manual page.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2017-08-28 14:28jhr
close_dateNone2017-08-28 14:28jhr
assigned_tonone2017-08-28 14:28jhr
detailsThe -h help text is missing some options present in the sml.1 manual page. The attached adds the missing options, and reorders an existing option to reflect the order presented in the manual page. Additional comments: Testing this out by running config/install.sh did not show new help text, I went through the process here: http://www.smlnj.org/doc/CM/btcomp/node5.html to check it, not sure if that is normal or not. Fix: Index: base/cm/main/cm-boot.sml =================================================================== --- base/cm/main/cm-boot.sml (revision 4397) +++ base/cm/main/cm-boot.sml (working copy) @@ -730,10 +730,13 @@ \\n\ \ rtsargs:\n\ \ @SMLload=<h> (start specified heap image)\n\ + \ @SMLrun=<r> (specify runtime system)\n\ + \ @SMLversion (echo the version of SML/NJ then exit)\n\ + \ @SMLsuffix (echo heap suffix for the system then exit)\n\ \ @SMLalloc=<s> (specify size of allocation area)\n\ \ @SMLcmdname=<n> (set command name)\n\ + \ @SMLverbose (show heap image load progress)\n\ \ @SMLquiet (load heap image silently)\n\ - \ @SMLverbose (show heap image load progress)\n\ \ @SMLobjects (show list of executable objects)\n\ \ @SMLdebug=<f> (write debugging info to file)\n\ \\n\ Submitted via web form by matt rice <ratmice@gmail.com> 2017-08-28 14:28jhr
Operating SystemGeneric Unix2017-08-28 14:28jhr
ResolutionNone2017-08-28 14:28jhr