abderrahim commented on code in PR #2137:
URL: https://github.com/apache/buildstream/pull/2137#discussion_r3610504497


##########
src/buildstream/_frontend/cli.py:
##########
@@ -1211,15 +1211,22 @@ def workspace_close(app, remove_dir, all_, elements):
     is_flag=True,
     help="Mark workspace to re-execute configuration steps (if any) on next 
build. Does not alter workspace contents.",
 )
[email protected]("--all", "-a", "all_", is_flag=True, help="Reset all open 
workspaces")
[email protected]("--all", "-a", "all_", is_flag=True, help="Reset all open 
workspaces. Cannot be combined with ELEMENTS.")
 @click.argument("elements", nargs=-1, type=click.Path(readable=False))
 @click.pass_obj
 def workspace_reset(app, soft, all_, elements):
-    """Reset a workspace to its original state"""
+    """Reset a workspace to its original state.
+
+    Specify either one or more ELEMENTS, or use -a to target all

Review Comment:
   I think I prefer to say `--all` rather than `-a` when documenting things.



-- 
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]

Reply via email to