Skip to content

Commit

Permalink
docs: add timeout usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hougesen committed Dec 27, 2023
1 parent 6567802 commit 9af7191
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ The `--disable-formatting` argument can be passed to disable pretty printing of
hitt run --disable-formatting <PATH_TO_FILE>
```

### Request timeout

Request timeout can be set using the `--timeout` arguments.
The input should be in milliseconds.

```sh
hitt run --timeout 100 <PATH_TO_FILE>
```

## Neovim

hitt can be run directly from Neovim.
Expand Down
9 changes: 9 additions & 0 deletions docs/content/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ The `--disable-formatting` argument can be passed to disable pretty printing of
hitt run --disable-formatting <PATH_TO_FILE>
```

### Request timeout

Request timeout can be set using the `--timeout` arguments.
The input should be in milliseconds.

```sh
hitt run --timeout 100 <PATH_TO_FILE>
```

## Neovim

hitt can be run directly from Neovim.
Expand Down

0 comments on commit 9af7191

Please sign in to comment.