You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update help text and documentation for history -t argument (#1440)
* Update help text and documentation for history -t argument
Clarified that this actually re-runs the select commands since the expected output from the commands isn't saved in the history along with the commands themselves.
* Update 2.6.0 release date in preparation for a release
* Fixed unit test
* Fix self.last_resort typo
Copy file name to clipboardExpand all lines: docs/features/history.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,10 @@ The `history` command can also save both the commands and their output to a text
127
127
128
128
The `--transcript` option implies `--run`: the commands must be re-run in order to capture their output to the transcript file.
129
129
130
+
!!! warning
131
+
132
+
Unlike the `-o`/`--output-file` option, the `-t`/`--transcript` option will actually run the selected history commands again. This is necessary for creating a transcript file since the history saves the commands themselves but does not save their output. Please note that a side-effect of this is that the commands will appear again at the end of the history.
133
+
130
134
The last action the history command can perform is to clear the command history using `-c` or `--clear`:
0 commit comments