[commit: packages/Cabal] ghc-head: Use proper punctuation consistently. (1b431a7)
git at git.haskell.org
git at git.haskell.org
Mon Aug 26 23:30:21 CEST 2013
Repository : ssh://git@git.haskell.org/Cabal
On branch : ghc-head
Link : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=1b431a7f40e89f75b15f8f1f62e95886351cf215
>---------------------------------------------------------------
commit 1b431a7f40e89f75b15f8f1f62e95886351cf215
Author: Mikhail Glushenkov <mikhail.glushenkov at gmail.com>
Date: Thu Aug 22 08:00:57 2013 +0200
Use proper punctuation consistently.
>---------------------------------------------------------------
1b431a7f40e89f75b15f8f1f62e95886351cf215
Cabal/Distribution/Simple/Command.hs | 2 +-
cabal-install/Distribution/Client/Setup.hs | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Cabal/Distribution/Simple/Command.hs b/Cabal/Distribution/Simple/Command.hs
index f7c26d2..bf81d7b 100644
--- a/Cabal/Distribution/Simple/Command.hs
+++ b/Cabal/Distribution/Simple/Command.hs
@@ -581,7 +581,7 @@ commandsRun globalCommand commands args =
where globalHelp = commandHelp globalCommand'
helpCommandUI =
- (makeCommand "help" "Help about commands" Nothing () (const [])) {
+ (makeCommand "help" "Help about commands." Nothing () (const [])) {
commandUsage = \pname ->
"Usage: " ++ pname ++ " help [FLAGS]\n"
++ " or: " ++ pname ++ " help COMMAND [FLAGS]\n\n"
diff --git a/cabal-install/Distribution/Client/Setup.hs b/cabal-install/Distribution/Client/Setup.hs
index 91f4cf9..113a579 100644
--- a/cabal-install/Distribution/Client/Setup.hs
+++ b/cabal-install/Distribution/Client/Setup.hs
@@ -498,7 +498,7 @@ fetchCommand = CommandUI {
updateCommand :: CommandUI (Flag Verbosity)
updateCommand = CommandUI {
commandName = "update",
- commandSynopsis = "Updates list of known packages",
+ commandSynopsis = "Updates list of known packages.",
commandDescription = Nothing,
commandUsage = usageFlags "update",
commandDefaultFlags = toFlag normal,
@@ -529,7 +529,7 @@ cleanCommand = makeCommand name shortDesc longDesc emptyFlags options
checkCommand :: CommandUI (Flag Verbosity)
checkCommand = CommandUI {
commandName = "check",
- commandSynopsis = "Check the package for common mistakes",
+ commandSynopsis = "Check the package for common mistakes.",
commandDescription = Nothing,
commandUsage = \pname -> "Usage: " ++ pname ++ " check\n",
commandDefaultFlags = toFlag normal,
@@ -1057,7 +1057,7 @@ defaultUploadFlags = UploadFlags {
uploadCommand :: CommandUI UploadFlags
uploadCommand = CommandUI {
commandName = "upload",
- commandSynopsis = "Uploads source packages to Hackage",
+ commandSynopsis = "Uploads source packages to Hackage.",
commandDescription = Just $ \_ ->
"You can store your Hackage login in the ~/.cabal/config file\n",
commandUsage = \pname ->
@@ -1388,7 +1388,7 @@ defaultSandboxFlags = SandboxFlags {
sandboxCommand :: CommandUI SandboxFlags
sandboxCommand = CommandUI {
commandName = "sandbox",
- commandSynopsis = "Create/modify/delete a sandbox",
+ commandSynopsis = "Create/modify/delete a sandbox.",
commandDescription = Nothing,
commandUsage = \pname ->
"Usage: " ++ pname ++ " sandbox init\n"
More information about the ghc-commits
mailing list