From 557b779bd464e46b51b82dde0693063f81dafb99 Mon Sep 17 00:00:00 2001 From: Scott Riley Date: Sat, 4 Aug 2018 17:44:11 +0100 Subject: [PATCH] Move parentheses in System.cmd() docs (#8046) --- lib/elixir/lib/system.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/elixir/lib/system.ex b/lib/elixir/lib/system.ex index 80ac75ac157..12eb33bd589 100644 --- a/lib/elixir/lib/system.ex +++ b/lib/elixir/lib/system.ex @@ -564,10 +564,10 @@ defmodule System do iex> System.cmd("echo", ["hello"]) {"hello\n", 0} - iex> System.cmd("echo", ["hello"]), env: [{"MIX_ENV", "test"}] + iex> System.cmd("echo", ["hello"], env: [{"MIX_ENV", "test"}]) {"hello\n", 0} - iex> System.cmd("echo", ["hello"]), into: IO.stream(:stdio, :line) + iex> System.cmd("echo", ["hello"], into: IO.stream(:stdio, :line)) hello {%IO.Stream{}, 0}