diff --git a/README.md b/README.md index ffb06377..c6fa2030 100644 --- a/README.md +++ b/README.md @@ -314,7 +314,7 @@ object to the output that will include the magic command information, including the exit code. Here is an example with `ping`: -```json +```bash $ jc --meta-out -p ping -c2 192.168.1.252 { "destination_ip": "192.168.1.252", @@ -343,6 +343,8 @@ $ jc --meta-out -p ping -c2 192.168.1.252 "magic_command_exit": 2 } } +$ echo $? +2 ``` ### Setting Custom Colors via Environment Variable diff --git a/templates/readme_template b/templates/readme_template index a6a5ff81..963c8176 100644 --- a/templates/readme_template +++ b/templates/readme_template @@ -195,7 +195,7 @@ object to the output that will include the magic command information, including the exit code. Here is an example with `ping`: -```json +```bash $ jc --meta-out -p ping -c2 192.168.1.252 { "destination_ip": "192.168.1.252", @@ -224,6 +224,8 @@ $ jc --meta-out -p ping -c2 192.168.1.252 "magic_command_exit": 2 } } +$ echo $? +2 ``` ### Setting Custom Colors via Environment Variable