diff --git a/examples/attest_receipt_observe.py b/examples/attest_receipt_observe.py index f044793..3eec263 100644 --- a/examples/attest_receipt_observe.py +++ b/examples/attest_receipt_observe.py @@ -1,8 +1,11 @@ """Print an unverified SyberWork observation from an Attest v0 receipt file. -Attest writes these receipts under `/receipts/.json`. -This example only translates the JSON into Work.observe-compatible arguments; -it does not append to a case or verify receipt authority. +Attest writes these receipts under `/receipts/.json`, +where `` is Attest's `--home`, else `$ATTEST_HOME`, else `.attest` +relative to Attest's working directory. `.attest/receipts` is only that default; +pass the receipt path explicitly rather than assuming it. This example only +translates the JSON into Work.observe-compatible arguments; it does not append +to a case or verify receipt authority. """ from __future__ import annotations @@ -102,7 +105,10 @@ def main(argv: list[str] | None = None) -> int: parser.add_argument( "receipt", type=Path, - help="receipt path (Attest writes /receipts/.json)", + help=( + "receipt path (Attest writes /receipts/.json; " + " is Attest's --home, else $ATTEST_HOME, else .attest)" + ), ) args = parser.parse_args(argv) try: