From 158676d2f3531282b42a60d10ebdb247680a2680 Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Tue, 10 Sep 2024 08:39:07 -0700 Subject: [PATCH] Fix typo in `arg_write` docstring --- 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