From 59c775e33a4264b5608c5616667921ac6e2d9cbf Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Wed, 31 Jan 2024 17:31:49 -0800 Subject: [PATCH] Changed sh format to console --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8daf39b..55350be 100644 --- a/README.md +++ b/README.md @@ -303,7 +303,7 @@ The reasons are defined in a [ResourceBundle](https://docs.oracle.com/en/java/ja You can query the reason phrase for status codes as follows: -```sh +```console $ java -jar httpstatus-1.1.0.jar 404 500 404: Not Found 500: Internal Server Error @@ -311,7 +311,7 @@ $ java -jar httpstatus-1.1.0.jar 404 500 If no status code is specified, all will be printed: -```sh +```console $ java -jar httpstatus-1.1.0.jar 100: Continue 101: Switching Protocols @@ -326,7 +326,7 @@ $ java -jar httpstatus-1.1.0.jar You can also print status codes by [response classes](https://www.rfc-editor.org/rfc/rfc9110.html#name-status-codes): -```sh +```console $ java -jar httpstatus-1.1.0.jar 2xx 200: OK 201: Created