environment: add using list to usage example of os-env word

Keita Haga 2011-02-20 04:08:45 +09:00
parent 976d3d3ac0
commit 382888822b
1 changed files with 6 additions and 2 deletions

View File

@ -22,7 +22,11 @@ HELP: os-env
{ $description "Looks up the value of a shell environment variable." }
{ $examples
"This is an operating system-specific feature. On Unix, you can do:"
{ $unchecked-example "\"USER\" os-env print" "jane" }
{ $unchecked-example
"USING: environment io ;"
"\"USER\" os-env print"
"jane"
}
} ;
HELP: os-envs