From 68bb888c2107e202d6f09a6cb3539061443adf9a Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Sat, 14 Dec 2024 16:47:27 -0800 Subject: [PATCH] Fix typo in `arg_write` docstring (#39) --- src/ArgTools.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArgTools.jl b/src/ArgTools.jl index eaf03b2..2e97b20 100644 --- a/src/ArgTools.jl +++ b/src/ArgTools.jl @@ -79,7 +79,7 @@ arg_read(f::Function, arg::IO) = f(arg) arg_write(f::Function, arg::ArgWrite) -> arg arg_write(f::Function, arg::Nothing) -> tempname() -The `arg_read` function accepts an argument `arg` that can be any of these: +The `arg_write` function accepts an argument `arg` that can be any of these: - `AbstractString`: a file path to be opened for writing - `AbstractCmd`: a command to be run, writing to its standard input