File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ The testscript command runs github.com/rogpeppe/go-internal/testscript scripts
3
3
in a fresh temporary work directory tree.
4
4
5
5
Usage:
6
- testscript [-v] [-e VAR[=value]]... [-u] files...
6
+ testscript [-v] [-e VAR[=value]]... [-u] [-work] files...
7
7
8
8
The testscript command is designed to make it easy to create self-contained
9
9
reproductions of command sequences.
@@ -31,6 +31,9 @@ succeed and the testscript file will be updated to reflect the actual content.
31
31
As such, this is the cmd/testcript equivalent of
32
32
testscript.Params.UpdateScripts.
33
33
34
+ The -work flag prints the temporary work directory path before running each
35
+ script, and does not remove that directory when testscript exits.
36
+
34
37
Examples
35
38
========
36
39
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ The testscript command runs github.com/rogpeppe/go-internal/testscript scripts
14
14
in a fresh temporary work directory tree.
15
15
16
16
Usage:
17
- testscript [-v] [-e VAR[=value]]... [-u] files...
17
+ testscript [-v] [-e VAR[=value]]... [-u] [-work] files...
18
18
19
19
The testscript command is designed to make it easy to create self-contained
20
20
reproductions of command sequences.
@@ -42,6 +42,9 @@ succeed and the testscript file will be updated to reflect the actual content.
42
42
As such, this is the cmd/testcript equivalent of
43
43
testscript.Params.UpdateScripts.
44
44
45
+ The -work flag prints the temporary work directory path before running each
46
+ script, and does not remove that directory when testscript exits.
47
+
45
48
Examples
46
49
========
47
50
You can’t perform that action at this time.
0 commit comments