summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-03-27 20:52:52 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-03-27 20:52:52 (GMT)
commitb0eb1031b71a403bb5af7b2bdea926eb39e13270 (patch)
tree3a3295c3e0e10b64d9d14e49ea41ae9d9d5f92a6 /Source
parent85b286f04e85f8acb8add3fb6d00d362d34f72dc (diff)
downloadCMake-b0eb1031b71a403bb5af7b2bdea926eb39e13270.zip
CMake-b0eb1031b71a403bb5af7b2bdea926eb39e13270.tar.gz
CMake-b0eb1031b71a403bb5af7b2bdea926eb39e13270.tar.bz2
ENH: small formatting enh
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCreateTestSourceList.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 2d5b53a..37aed41 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -130,14 +130,14 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
" printf(\"Available tests:\\n\");\n"
" for (i =0; i < NumTests; ++i)\n"
" {\n"
- " printf(\"%d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
+ " printf(\"%3d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
" }\n"
" printf(\"To run a test, enter the test number: \");\n"
" int testNum = 0;\n"
" scanf(\"%d\", &testNum);\n"
" if (testNum >= NumTests)\n"
" {\n"
- " printf(\"%d is an invalid test number.\\n\", testNum);\n"
+ " printf(\"%3d is an invalid test number.\\n\", testNum);\n"
" return -1;\n"
" }\n"
" return (*cmakeGeneratedFunctionMapEntries[testNum].func)(ac-1, av+1);\n"
@@ -177,7 +177,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
" printf(\"Available tests:\\n\");\n"
" for (i =0; i < NumTests; ++i)\n"
" {\n"
- " printf(\"%d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
+ " printf(\"%3d. %s\\n\", i, cmakeGeneratedFunctionMapEntries[i].name);\n"
" }\n"
" printf(\"Failed: %s is an invalid test name.\\n\", av[1]);\n"
" \n"