Skip to content

Commit 1ed2b98

Browse files
authored
Fix typo in @cmd docstring (#56664)
I'm not sure what `` `cmd` `` could refer to, but it would make sense to refer to `` `str` `` in this case. I'm assuming it's a typo.
1 parent 447dc2d commit 1ed2b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/cmd.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ end
491491
"""
492492
@cmd str
493493
494-
Similar to `cmd`, generate a `Cmd` from the `str` string which represents the shell command(s) to be executed.
494+
Similar to ``` `str` ```, generate a `Cmd` from the `str` string which represents the shell command(s) to be executed.
495495
The [`Cmd`](@ref) object can be run as a process and can outlive the spawning julia process (see `Cmd` for more).
496496
497497
# Examples

0 commit comments

Comments
 (0)