diff options
author | yuryalekseev <yuryalekseev@yandex-team.com> | 2023-03-14 11:59:49 +0300 |
---|---|---|
committer | yuryalekseev <yuryalekseev@yandex-team.com> | 2023-03-14 11:59:49 +0300 |
commit | 6b69664787646ae72170e8444fefc6d25fd57c13 (patch) | |
tree | cb6224b2a4b6cc87e33633a94eea4140b8b3c10a | |
parent | 5d3df1b07e18c2aa5c2a7f5326b966ea3c55e296 (diff) | |
download | ydb-6b69664787646ae72170e8444fefc6d25fd57c13.tar.gz |
Fix typos.
-rw-r--r-- | ydb/apps/dstool/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/apps/dstool/README.md b/ydb/apps/dstool/README.md index 8cecbbd8d35..d75cd90c06d 100644 --- a/ydb/apps/dstool/README.md +++ b/ydb/apps/dstool/README.md @@ -112,7 +112,7 @@ user@host:~$ ydb-dstool --dry-run -e ydbd.endpoint vdisk evict --vdisk-ids ${vdi ### Handle errors -By convention ```user@host:~$ ydb-dstool``` returns 0 on success, and non-zero on failure. You can check exit status +By convention ```ydb-dstool``` returns 0 on success, and non-zero on failure. You can check exit status as follows: ```bash @@ -120,7 +120,7 @@ as follows: ~$ if [ $? -eq 0 ]; then echo "success"; else echo "failure"; fi ``` -```user@host:~$ ydb-dstool``` outputs errors to ```stderr``` so to redirect errors to ```errors.txt``` one could run: +Since ```ydb-dstool``` outputs errors to ```stderr```, to redirect errors to ```errors.txt``` one could run: ```bash ~$ user@host:~$ ydb-dstool -e ydbd.endpoint vdisk evict --vdisk-ids ${vdisk_id} 2> ~/errors.txt |