Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
CBenoit committed Oct 18, 2024
1 parent 8a3d606 commit e2f7caf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jetsocat/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,18 @@ Output formats:
- human: human-readable output
- json: print one JSON object per line for each diagnostic
The JSON objects have the following fields:
The diagonstic JSON objects have the following fields:
- "name" (Required): A string for the name of the diagnostic.
- "success" (Required): A boolean set to true when the diagnostic is successful and false otherwise.
- "output" (Optional): The execution trace of the diagnostic.
- "error" (Optional): The error returned by the diagnostic when failed.
- "help" (Optional): A help message suggesting how to fix the issue.
- "links" (Optional): An array of links. See the definition below.
The link JSON objects have the following fields:
- "name" (Required): The title associated to the linked web page.
- "href" (Required): The URL to the web page.
- "description" (Required): A short description of the contents.
{pipe_formats}
Expand Down

0 comments on commit e2f7caf

Please sign in to comment.