From 5111f12026aa02a5ac605f11b74131c2274f859f Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:42:48 +0200 Subject: [PATCH] set: add parameter reset (#15236) --- pages/common/set.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/set.md b/pages/common/set.md index aaf125996..d9fe127ba 100644 --- a/pages/common/set.md +++ b/pages/common/set.md @@ -30,3 +30,7 @@ - Exit the shell when (some) commands fail: `set -e` + +- Reset all shell parameters and assign new ones: + +`set -- {{argument1 argument2...}}`