Skip to content

Commit b995ca2

Browse files
committed
Offer force as alternative suggestion to update.
1 parent c42dd03 commit b995ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cabal-install/src/Distribution/Client/IndexUtils.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ getSourcePackagesAtIndexState verbosity repoCtxt mb_idxState mb_activeRepos = do
280280
"Stopping this command as the requested index-state=" ++ prettyShow ts0
281281
++ " is newer than " ++ prettyShow (isiMaxTime isi)
282282
++ ", the most recent state of '" ++ unRepoName rname
283-
++ "'. You could try 'cabal update' to bring down a later state or request an earlier timestamp for index-state."
283+
++ "'. You could try 'cabal update' to bring down a later state or force the use of current local state with `--index-state=HEAD`."
284284
else info verbosity $
285285
"Requested index-state " ++ prettyShow ts0
286286
++ " does not exist in '"++ unRepoName rname ++"'!"

0 commit comments

Comments
 (0)