added dup to doc

This commit is contained in:
2023-11-12 20:28:05 +01:00
parent 2fb1c7e7ad
commit 1379d62c9e
2 changed files with 2 additions and 0 deletions

1
rpn.go
View File

@@ -160,6 +160,7 @@ DESCRIPTION
shift remove the last element of the stack
reverse reverse the stack elements
swap exchange the last two stack elements
dup duplicate last stack item
history display calculation history
help|? show this message
quit|exit|c-d|c-c exit program

View File

@@ -167,6 +167,7 @@ Commands:
shift remove the last element of the stack
reverse reverse the stack elements
swap exchange the last two stack elements
dup duplicate last stack item
history display calculation history
help|? show this message
quit|exit|c-d|c-c exit program