docs: vm says to read "command-line" but it was called "cli". change the article title in the docs.

db4
Doug Coleman 2012-07-25 23:49:19 -07:00
parent c448ea0e3e
commit ba64012f79
5 changed files with 6 additions and 6 deletions

View File

@ -132,7 +132,7 @@ $nl
"\"/opt/local/bin\" \\ gvim-path set-global"
} ;
ARTICLE: "cli" "Command line arguments"
ARTICLE: "command-line" "Command line arguments"
"Factor command line usage:"
{ $code "factor [VM args...] [script] [args...]" }
"Zero or more VM arguments can be passed in, followed by an optional script file name. If the script file is specified, it will be run on startup using " { $link run-script } ". Any arguments after the script file are stored in the following variable, with no further processing by Factor itself:"
@ -164,4 +164,4 @@ HELP: run-script
{ $description "Parses the Factor source code stored in a file and runs it. The initial vocabulary search path is used. If the source file contains a " { $link POSTPONE: MAIN: } " declaration, the main entry point of the file will be also be executed. Loading messages will be suppressed." }
{ $errors "Throws an error if loading the file fails, there input is malformed, or if a runtime error occurs while calling the parsed quotation or executing the main entry point." } ;
ABOUT: "cli"
ABOUT: "command-line"

View File

@ -245,7 +245,7 @@ $nl
"The space between " { $snippet "#!" } " and " { $snippet "/usr/bin/env" } " is necessary, since " { $link POSTPONE: #! } " is a parsing word, and a syntax error would otherwise result."
{ $references
{ }
"cli"
"command-line"
"cookbook-application"
"images"
} ;

View File

@ -317,7 +317,7 @@ ARTICLE: "handbook-system-reference" "The implementation"
{ $heading "Virtual machine" }
{ $subsections
"images"
"cli"
"command-line"
"rc-files"
"init"
"system"

View File

@ -275,7 +275,7 @@ $nl
$nl
"If " { $snippet "image" } " is " { $snippet "NULL" } ", Factor will load an image file whose name is obtained by suffixing the executable name with " { $snippet ".image" } "."
$nl
"The " { $snippet "argc" } " and " { $snippet "argv" } " parameters are interpreted just like normal command line arguments when running Factor stand-alone; see " { $link "cli" } "."
"The " { $snippet "argc" } " and " { $snippet "argv" } " parameters are interpreted just like normal command line arguments when running Factor stand-alone; see " { $link "command-line" } "."
$nl
"The " { $snippet "embedded" } " flag ensures that this function returns as soon as Factor has been initialized. Otherwise, Factor will start up normally."
} }

View File

@ -107,7 +107,7 @@ $nl
run-file
parse-file
}
"If Factor is run from the command line with a script file supplied as an argument, the script is run using " { $link run-file } ". See " { $link "cli" } "."
"If Factor is run from the command line with a script file supplied as an argument, the script is run using " { $link run-file } ". See " { $link "command-line" } "."
$nl
"While " { $link run-file } " can be used interactively in the listener to load user code into the session, this should only be done for quick one-off scripts, and real programs should instead rely on the automatic " { $link "vocabs.loader" } "."
{ $see-also "parsing-words" "definitions" "definition-checking" } ;