diff --git a/cheat-sheets/Windows-cmd-shell-batch-scripting-cheat-sheet.adoc b/cheat-sheets/Windows-cmd-shell-batch-scripting-cheat-sheet.adoc index 298c700..bdc4800 100644 --- a/cheat-sheets/Windows-cmd-shell-batch-scripting-cheat-sheet.adoc +++ b/cheat-sheets/Windows-cmd-shell-batch-scripting-cheat-sheet.adoc @@ -57,6 +57,7 @@ E.g. `echo The script was called as %0, with the %1 as the first argument` |The rest of the positional arguments after the 9th, not accessible directly, only after `SHIFT`-ing. |*shift [/_n_]* -|Shift positional arguments by one. +|Shift positional arguments by one. If `\n` is given, will shift starting with n+1. E.g. `shift \4` will shift 5th to become 4th, +6th will become 5th, and so on. |===