diff --git a/docs/TriceCacheSpec.md b/docs/TriceCacheSpec.md index 2905fc8d4..e5c251fc9 100644 --- a/docs/TriceCacheSpec.md +++ b/docs/TriceCacheSpec.md @@ -32,8 +32,8 @@ When `id.TriceCacheEnabled` is true (applied `-cache` CLI switch) and `~/.trice/ - On command `trice c`, copy, if existing, _cleaned cache file_ into `path/file`. Otherwise process `trice c` and copy result into _cleaned cache file_. - On command `trice i`, nothing to do - _last edit_: - - On command `trice c`, invalidate cache, process `trice c` and update _cleaned cache file_, file gets a new mtime, the mtime of _IDs cleaned._ On a following command `trice i`, file mtime is _IDs cleaned_, BUT the cache is invalid, so process `trice i` and update cache/inserted. - - On command `trice i`, invalidate cache, process `trice i` and update _inserted cache file_, file gets a new mtime, the mtime of _IDs inserted_. On a following command `trice c`, file mtime is _IDs inserted_, BUT the cache is invalid, so process `trice c` and update cache/cleaned. + - On command `trice c`, invalidate cache, process `trice c` and update _cleaned cache file_, file gets a new mtime, the mtime of _IDs cleaned_. On a following command `trice i`, file mtime is _IDs cleaned_, BUT the cache is invalid, so process `trice i` and update cache/inserted. + - On command `trice i`, invalidate cache, process `trice i` and update _inserted cache file_, file gets a new mtime, the mtime of _IDs inserted_. On a following command `trice c`, file mtime is _IDs inserted_, BUT the cache is invalid, so process `trice c` and update cache/cleaned. ## Remarks