none: looks like this vocab isn't needed

Because -e="..." already terminates after evaluation so using -run=none
isn't needed.
char-rename
Björn Lindqvist 2016-09-16 15:26:58 +02:00
parent 6cced7dcbf
commit 96610a47a8
7 changed files with 2 additions and 27 deletions

View File

@ -83,7 +83,6 @@ CONSTANT: default-components
] [
"debugger" require
"listener" require
"none" require
] if
load-components

View File

@ -96,8 +96,8 @@ $nl
ARTICLE: "standard-cli-args" "Command line switches for general usage"
"The following command line switches can be passed to a bootstrapped Factor image:"
{ $table
{ { $snippet "-e=" { $emphasis "code" } } { "This specifies a code snippet to evaluate. If you want Factor to exit immediately after, also specify " { $snippet "-run=none" } "." } }
{ { $snippet "-run=" { $emphasis "vocab" } } { { $snippet { $emphasis "vocab" } } " is the name of a vocabulary with a " { $link POSTPONE: MAIN: } " hook to run on startup, for example " { $vocab-link "listener" } ", " { $vocab-link "ui.tools" } " or " { $vocab-link "none" } "." } }
{ { $snippet "-e=" { $emphasis "code" } } { "This specifies a code snippet to evaluate and then exit Factor." } }
{ { $snippet "-run=" { $emphasis "vocab" } } { { $snippet { $emphasis "vocab" } } " is the name of a vocabulary with a " { $link POSTPONE: MAIN: } " hook to run on startup, for example " { $vocab-link "listener" } " or " { $vocab-link "ui.tools" } "." } }
{ { $snippet "-no-user-init" } { "Inhibits the running of user initialization files on startup. See " { $link "rc-files" } "." } }
} ;

View File

@ -1 +0,0 @@
Slava Pestov

View File

@ -1,12 +0,0 @@
USING: tools.deploy.config ;
H{
{ deploy-math? f }
{ deploy-word-defs? f }
{ deploy-word-props? f }
{ deploy-name "none" }
{ "stop-after-last-window?" t }
{ deploy-c-types? f }
{ deploy-io 1 }
{ deploy-ui? f }
{ deploy-reflection 1 }
}

View File

@ -1,4 +0,0 @@
USING: help.markup help.syntax none ;
HELP: none
{ $description "Passing the " { $snippet "-run=none" } " command line switch will make Factor exit as soon as it finishes running any source files specified on the command line." } ;

View File

@ -1,6 +0,0 @@
! Just a dummy shell for the -run switch...
IN: none
: none ( -- ) ;
MAIN: none

View File

@ -1 +0,0 @@
Dummy module for command-line usage