Copilot commented on code in PR #9238:
URL: https://github.com/apache/ozone/pull/9238#discussion_r2484165149


##########
hadoop-hdds/docs/content/feature/Snapshot.md:
##########
@@ -100,6 +100,32 @@ Manage snapshots using `ozone sh` or `ozone fs` 
(Hadoop-compatible) commands:
     Output prefixes: `+` (add), `-` (delete), `M` (modify), `R` (rename). Use 
`-p`, `-t` for pagination.
     Manage diff jobs: `ozone sh snapshot listDiff /vol1/bucket1`, `ozone sh 
snapshot cancelDiff <jobId>`.
 
+*   **List Snapshot Diff Jobs:** Lists snapshot diff jobs for a bucket.
+    ```shell
+    ozone sh snapshot listDiff /vol1/bucket1
+    ```
+    By default, lists jobs with `in_progress` status. Use `--job-status` to 
filter by specific status:
+    ```shell
+    # List jobs with specific status (queued, in_progress, done, failed, 
rejected)
+    ozone sh snapshot listDiff /vol1/bucket1 --job-status done
+    ```
+    Use `--all-status` to list all jobs regardless of status:
+    ```shell
+    # List all snapshot diff jobs regardless of status
+    ozone sh snapshot listDiff /vol1/bucket1 --all-status
+    ```
+    **Note:** The difference between `--all-status` and `-all` (or `-a`):
+    * `--all-status`: Controls which jobs to show based on status (lists all 
jobs regardless of status)
+    * `-all` (or `-a`): Controls the number of results returned (pagination 
option, removes pagination limit, **not related to snapdiff job status**)

Review Comment:
   Inconsistent terminology: 'snapdiff' should be 'snapshot diff' to match the 
terminology used elsewhere in the document.
   ```suggestion
       * `-all` (or `-a`): Controls the number of results returned (pagination 
option, removes pagination limit, **not related to snapshot diff job status**)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to