Permalink
Browse files

add command arg description for --stdin and --stdin-file

  • Loading branch information...
yuntan committed Jul 8, 2017
1 parent 079147a commit 0f20d1e8a52fe6a9cb16a6bc7455166a67206f80
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
@@ -17,7 +17,7 @@ Wandbox has been created by @melpon and @kikairoya. Repository page is [here](h
## Usage
```
:[range]Wandbox [--compiler={compiler}] [--options={options}] [--file={file}] [--runtime-options]
:[range]Wandbox [--compiler={compiler}] [--options={options}] [--file={file}] [--runtime-options] [--stdin] [--stdin-file={stdin-file}]
```
If `[range]` is omitted, whole buffer would be selected.
@@ -30,6 +30,10 @@ If `[range]` is omitted, whole buffer would be selected.
`[--runtime-options]` specifies arguments for the program at runtime. You can input the arguments.
`[--stdin]` specifies stdin. You can input the arguments, or use global variable like `--stdin=g:stdin`.
`[--stdin-file]` specifies file which will be used as stdin.
Files included with relative paths in a source are expand automatically.
To send requests asynchronously, `curl` or `wget` command and [vimproc](https://github.com/Shougo/vimproc.vim) are required. Otherwise, requests are sent synchronously and they will block Vim.

0 comments on commit 0f20d1e

Please sign in to comment.