improve wording
This is to improve this case: joey@darkstar:~/tmp/yyyy>git-annex trust git-annex: no remote specified The command does not need to be run with a remote, any repository name will do, including eg "here". Sponsored-by: Brock Spratlen on Patreon
This commit is contained in:
parent
e74c56ed78
commit
99e4dc8d41
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ byNameWithUUID = checkuuid <=< byName
|
||||||
| otherwise = return $ Just r
|
| otherwise = return $ Just r
|
||||||
|
|
||||||
byName' :: RemoteName -> Annex (Either String Remote)
|
byName' :: RemoteName -> Annex (Either String Remote)
|
||||||
byName' "" = return $ Left "no remote specified"
|
byName' "" = return $ Left "no repository name specified"
|
||||||
byName' n = go . filter matching <$> remoteList
|
byName' n = go . filter matching <$> remoteList
|
||||||
where
|
where
|
||||||
go [] = Left $ "there is no available git remote named \"" ++ n ++ "\""
|
go [] = Left $ "there is no available git remote named \"" ++ n ++ "\""
|
||||||
|
|
Loading…
Reference in a new issue