summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/for.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/usage/cmd/for.rst')
-rw-r--r--doc/usage/cmd/for.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/usage/cmd/for.rst b/doc/usage/cmd/for.rst
index 729bd4db43c..3db3410a171 100644
--- a/doc/usage/cmd/for.rst
+++ b/doc/usage/cmd/for.rst
@@ -34,14 +34,14 @@ Example
::
- => setenv c
+ => env set c
=> for c in 1 2 3; do echo item ${c}; done
item 1
item 2
item 3
=> echo ${c}
3
- => setenv c x
+ => env set c x
=> for c in 1 2 3; do echo item ${c}; done
item x
item x