diff --git a/subcmds/forall.py b/subcmds/forall.py index 2c12c55ff..52eb5e28b 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py @@ -104,6 +104,13 @@ annotating tree details. shell positional arguments ($1, $2, .., $#) are set to any arguments following . +Example: to list projects: + + %prog% forall -c 'echo $REPO_PROJECT' + +Notice that $REPO_PROJECT is quoted to ensure it is expanded in +the context of running instead of in the calling shell. + Unless -p is used, stdin, stdout, stderr are inherited from the terminal and are not redirected.