Skip to content

Commit 0ef5bb0

Browse files
committed
Fix an obsolete comment
The old comment was probably copypasted from CmdBuild. Now it reflects what new-run actually does.
1 parent caba6e7 commit 0ef5bb0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cabal-install/Distribution/Client/CmdRun.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,10 @@ runCommand = Client.installCommand {
100100
}
101101

102102

103-
-- | The @build@ command does a lot. It brings the install plan up to date,
104-
-- selects that part of the plan needed by the given or implicit targets and
105-
-- then executes the plan.
103+
-- | The @run@ command runs a specified executable-like component, building it
104+
-- first if necessary. The component can be either an executable, a test,
105+
-- or a benchmark. This is particularly useful for passing arguments to
106+
-- exes/tests/benchs by simply appending them after a @--@.
106107
--
107108
-- For more details on how this works, see the module
108109
-- "Distribution.Client.ProjectOrchestration"

0 commit comments

Comments
 (0)