diff --git a/README.md b/README.md index ef84bf9..a4a5858 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,8 @@ $ $BIN_DIR/cget.sh -C $url1 | wc -c Of course the ``-C`` option will fail if the resource is not cached: ```Shell -$ $BIN_DIR/cget.sh -C $url2 +$ $BIN_DIR/cget.sh -C $url2 2> /dev/tty +ERROR: conditional_get: resource not cached: http://md.incommon.org/InCommon/InCommon-metadata-fallback.xml $ echo $? 1 ``` @@ -93,7 +94,8 @@ $ echo $? OTOH, the ``-F`` option forces the return of a fresh resource from the server. If the resource is cached and unchanged on the server (304), such a request will fail, however: ```Shell -$ $BIN_DIR/cget.sh -F $url1 +$ $BIN_DIR/cget.sh -F $url1 2> /dev/tty +ERROR: conditional_get: resource not modified: http://md.incommon.org/InCommon/InCommon-metadata-preview.xml $ echo $? 1 $ $BIN_DIR/cget.sh -F $url2 > /dev/null