Skip to content

Commit cc8ad85

Browse files
committed
improve --shell option
1 parent dc817f6 commit cc8ad85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shelltest.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ argdefs = Args {
8484
,with = def &= typ "EXE" &= help "Replace the first word of test commands with EXE (unindented commands only)"
8585
,timeout = def &= name "o" &= typ "SECS" &= help "Number of seconds a test may run (default: no limit)"
8686
,threads = def &= name "j" &= typ "N" &= help "Number of threads for running tests (default: 1)"
87-
,shell_cmd = def &= name "shell" &= typ "FILE" &= help "The shell to use (must accept -c CMD; default: /bin/sh)"
87+
,shell_cmd = def &= explicit &= name "shell" &= typ "EXE" &= help "The shell program to use (must accept -c CMD; default: /bin/sh on POSIX, cmd.exe on Windows)"
8888
,debug = def &= help "Show debug info while running"
8989
,debug_parse = def &= help "Show test file parsing results and stop"
9090
,testpaths = def &= args &= typ "TESTFILES|TESTDIRS"

0 commit comments

Comments
 (0)