diff options
Diffstat (limited to 'subcmds/forall.py')
-rw-r--r-- | subcmds/forall.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/subcmds/forall.py b/subcmds/forall.py index 2c12c55f..52eb5e28 100644 --- a/subcmds/forall.py +++ b/subcmds/forall.py | |||
@@ -104,6 +104,13 @@ annotating tree details. | |||
104 | shell positional arguments ($1, $2, .., $#) are set to any arguments | 104 | shell positional arguments ($1, $2, .., $#) are set to any arguments |
105 | following <command>. | 105 | following <command>. |
106 | 106 | ||
107 | Example: to list projects: | ||
108 | |||
109 | %prog% forall -c 'echo $REPO_PROJECT' | ||
110 | |||
111 | Notice that $REPO_PROJECT is quoted to ensure it is expanded in | ||
112 | the context of running <command> instead of in the calling shell. | ||
113 | |||
107 | Unless -p is used, stdin, stdout, stderr are inherited from the | 114 | Unless -p is used, stdin, stdout, stderr are inherited from the |
108 | terminal and are not redirected. | 115 | terminal and are not redirected. |
109 | 116 | ||