summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cpack.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-09 13:32:08 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-09 13:32:08 (GMT)
commit95ea0272deccb95ca7d7f5a9ae62d5200482dd48 (patch)
treef50482d3bff07102159112430324ecb1642a6d29 /Source/CPack/cpack.cxx
parent8c11d31cc35acd8b92cb757db5af02b3acefc798 (diff)
downloadCMake-95ea0272deccb95ca7d7f5a9ae62d5200482dd48.zip
CMake-95ea0272deccb95ca7d7f5a9ae62d5200482dd48.tar.gz
CMake-95ea0272deccb95ca7d7f5a9ae62d5200482dd48.tar.bz2
STYLE: Fix style problems
Diffstat (limited to 'Source/CPack/cpack.cxx')
-rw-r--r--Source/CPack/cpack.cxx30
1 files changed, 17 insertions, 13 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx
index ed5b4fa..e02aabf 100644
--- a/Source/CPack/cpack.cxx
+++ b/Source/CPack/cpack.cxx
@@ -42,7 +42,8 @@ static const cmDocumentationEntry cmDocumentationName[] =
static const cmDocumentationEntry cmDocumentationUsage[] =
{
{0,
- " cpack -G <generator> -P <ProjectName> -R <ReleaseVersion> [options]", 0},
+ " cpack -G <generator> -P <ProjectName> -R <ReleaseVersion> [options]",
+ 0},
{0,0,0}
};
@@ -62,16 +63,16 @@ static const cmDocumentationEntry cmDocumentationDescription[] =
static const cmDocumentationEntry cmDocumentationOptions[] =
{
{"-G <generator>", "Use the specified generator to generate package.",
- "CPack may support multiple native packaging systems on certain platforms."
- "A generator is responsible for generating input files for particular "
- "system and invoking that systems. Possible generator names are "
- "specified in the Generators section." },
+ "CPack may support multiple native packaging systems on certain "
+ "platforms. A generator is responsible for generating input files for "
+ "particular system and invoking that systems. Possible generator names "
+ "are specified in the Generators section." },
{"-P <ProjectName>", "Specify the project name.",
- "This option specifies the project name that will be used to generate the "
- "installer." },
+ "This option specifies the project name that will be used to generate "
+ "the installer." },
{"-C <Configuration>", "Specify the project configuration",
- "This option specifies the configuration that the project was build with, "
- "for example 'Debug', 'Release'." },
+ "This option specifies the configuration that the project was build "
+ "with, for example 'Debug', 'Release'." },
{"-R <ReleaseVersion>", "Specify the release version of the project.",
"This option specifies the release version of the project that will be "
"used by installer." },
@@ -177,8 +178,10 @@ int main (int argc, char *argv[])
typedef cmsys::CommandLineArguments argT;
// Help arguments
arg.AddArgument("--help", argT::NO_ARGUMENT, &help, "CPack help");
- arg.AddArgument("--help-full", argT::SPACE_ARGUMENT, &helpFull, "CPack help");
- arg.AddArgument("--help-html", argT::SPACE_ARGUMENT, &helpHTML, "CPack help");
+ arg.AddArgument("--help-full", argT::SPACE_ARGUMENT, &helpFull,
+ "CPack help");
+ arg.AddArgument("--help-html", argT::SPACE_ARGUMENT, &helpHTML,
+ "CPack help");
arg.AddArgument("--help-man", argT::SPACE_ARGUMENT, &helpMAN, "CPack help");
arg.AddArgument("--version", argT::NO_ARGUMENT, &helpVersion, "CPack help");
@@ -358,8 +361,9 @@ int main (int argc, char *argv[])
"Cannot find installation file: " << makeInstallFile.c_str()
<< std::endl);
cmCPack_Log(&log, cmCPackLog::LOG_ERROR,
- "Please specify build tree of the project that uses CMake, specify "
- "CPACK_INSTALL_COMMANDS, or specify CPACK_INSTALLED_DIRECTORIES."
+ "Please specify build tree of the project that uses CMake, "
+ "specify CPACK_INSTALL_COMMANDS, or specify "
+ "CPACK_INSTALLED_DIRECTORIES."
<< std::endl);
parsed = 0;
}