]> gitweb.factorcode.org Git - factor.git/commitdiff
command-line: More consistent command-line docs, fix MB -> kb for callback heap size
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 4 Mar 2016 01:28:53 +0000 (17:28 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 4 Mar 2016 01:28:53 +0000 (17:28 -0800)
basis/command-line/command-line-docs.factor
basis/command-line/startup/startup.factor

index d730930ab1715a3fae92ff39b11b0f481dc99cab..8b17660bc3528b656045d75ec2525518b35244dd 100644 (file)
@@ -49,15 +49,18 @@ ARTICLE: "runtime-cli-args" "Command line switches for the VM"
 "A handful of command line switches are processed by the VM and not the library. They control low-level features."
 { $table
     { { $snippet "-i=" { $emphasis "image" } } { "Specifies the image file to use; see " { $link "images" } } }
-    { { $snippet "-datastack=" { $emphasis "n" } } "Data stack size, kilobytes" }
-    { { $snippet "-retainstack=" { $emphasis "n" } } "Retain stack size, kilobytes" }
-    { { $snippet "-callstack=" { $emphasis "n" } } "Call stack size, kilobytes" }
+    { { $snippet "-datastack=" { $emphasis "n" } } "Datastack size, kilobytes" }
+    { { $snippet "-retainstack=" { $emphasis "n" } } "Retainstack size, kilobytes" }
+    { { $snippet "-callstack=" { $emphasis "n" } } "Callstack size, kilobytes" }
+    { { $snippet "-callbacks=" { $emphasis "n" } } "Callback heap size, kilobytes" }
     { { $snippet "-young=" { $emphasis "n" } } { "Size of youngest generation (0), megabytes" } }
     { { $snippet "-aging=" { $emphasis "n" } } "Size of aging generation (1), megabytes" }
     { { $snippet "-tenured=" { $emphasis "n" } } "Size of oldest generation (2), megabytes" }
     { { $snippet "-codeheap=" { $emphasis "n" } } "Code heap size, megabytes" }
-    { { $snippet "-callbacks=" { $emphasis "n" } } "Callback heap size, megabytes" }
     { { $snippet "-pic=" { $emphasis "n" } } "Maximum inline cache size. Setting of 0 disables inline caching, >= 1 enables polymorphic inline caching" }
+    { { $snippet "-fep" } "enter low-level debbugger, aka fep mode immediately" }
+    { { $snippet "-nosignals" } "turn off OS signal handling" }
+    { { $snippet "-console" } "open console if possible" }
 }
 "If an " { $snippet "-i=" } " switch is not present, the default image file is used, which is usually a file named " { $snippet "factor.image" } " in the same directory as the Factor executable." ;
 
index 945c9cd9555d7e32bed300dfca5a39650e7b56e4..65a48d581962a83cf6e69f47d714d696decc2835 100644 (file)
@@ -18,15 +18,15 @@ Common arguments:
     -datastack=<int>    datastack size in kb
     -retainstack=<int>  retainstack size in kb
     -callstack=<int>    callstack size in kb
-    -young=<int>        young gc size in MB
-    -aging=<int>        aging gc size in MB
-    -tenured=<int>      tenured gc size in MB
+    -callbacks=<int>    callback heap size in kb
+    -young=<int>        young gc generation 0 size in MB
+    -aging=<int>        aging gc generation 1 size in MB
+    -tenured=<int>      tenured gc generation 2 size in MB
     -codeheap=<int>     codeheap size in MB
-    -callbacks=<int>    callback size size in kb
     -pic=<int>          max pic size
     -fep                enter fep mode immediately
     -nosignals          turn off OS signal handling
-    -console            open console if present
+    -console            open console if possible
 
 Enter
     \"command-line\" help