1 |
//$Header$ |
//$Header$ |
2 |
//{f0d952cc-7499-4d5c-9f46-d0b509c5701c} |
//{9d0125ed-73c3-43f6-8435-8f161ab7ea6d} |
3 |
//------------------------------------------------------------------------------------------------- |
//------------------------------------------------------------------------------------------------- |
4 |
//Copyright (c) 2018, David T. Ashley |
//Copyright (c) 2018, David T. Ashley |
5 |
// |
// |
6 |
//This file is part of "ifsfscan", a program for identifying gross formatting anomalies in source |
//This file is part of "ets_ifsfscan", a program for identifying gross formatting anomalies in |
7 |
//files (Windows/ASCII text files only). |
//source files (Windows/ASCII text files only). |
8 |
// |
// |
9 |
//This source code and any program in which it is compiled/used is licensed under the MIT License, |
//This source code and any program in which it is compiled/used is licensed under the MIT License, |
10 |
//reproduced below. |
//reproduced below. |
41 |
//less than aesthetic). |
//less than aesthetic). |
42 |
const char * const license_preamble[] = |
const char * const license_preamble[] = |
43 |
{ |
{ |
44 |
"ifsfscan, (c) 2018 David T. Ashley (dashley@gmail.com)", |
"ets_ifsfscan, (c) 2018 David T. Ashley (dashley@gmail.com)", |
45 |
"This program's source files, executable files, and all other related files", |
"This program's source files, executable files, and all other related files", |
46 |
"(such as Visual Studio project files) are licensed under \"The MIT License\",", |
"(such as Visual Studio project files) are licensed under \"The MIT License\",", |
47 |
"reproduced below." |
"reproduced below." |
70 |
|
|
71 |
const char * const prog_desc_text[] = |
const char * const prog_desc_text[] = |
72 |
{ |
{ |
73 |
"ifsfscan (mnemonic: Ill-Formed Source File SCAN) is a program for detecting", |
"ets_ifsfscan (mnemonic: Ill-Formed Source File SCAN) is a program for", |
74 |
"gross formatting errors in source files (Windows/ASCII text files only). The", |
"detecting gross formatting errors in source files (Windows/ASCII text", |
75 |
"errors detected are non-ASCII characters, tab characters, abnormal", |
"files only). The errors detected are non-ASCII characters, tab characters,", |
76 |
"end-of-line characters, and trailing whitespace on lines.", |
"abnormal end-of-line characters, and trailing whitespace on lines." |
77 |
}; |
}; |
78 |
|
|
79 |
const char * const prog_help_text[] = |
const char * const prog_help_text[] = |
80 |
{ |
{ |
81 |
"Usage: ifsfscan [filename_or_wildcard [filename_or_wildcard [...]]]", |
"Usage: ets_ifsfscan [filename_or_wildcard [filename_or_wildcard [...]]]", |
82 |
"", |
"", |
83 |
"Notes:", |
"Notes:", |
84 |
" (1) : Wildcards (\"*\", \"?\") are processed by Windows, so Windows is", |
" (1) : Wildcards (\"*\", \"?\") are processed by Windows, so Windows is", |
175 |
"$Date$", |
"$Date$", |
176 |
"$Revision$", |
"$Revision$", |
177 |
"$Author$", |
"$Author$", |
178 |
"Project GUID: {f7d7586a-557c-43cb-bec5-b49765d96a5d}", |
"Project GUID: {beb3d945-d010-41c4-b7b5-7d4b84203408}", |
179 |
"c_main.c GUID: {f0d952cc-7499-4d5c-9f46-d0b509c5701c}", |
"c_main.c GUID: {9d0125ed-73c3-43f6-8435-8f161ab7ea6d}", |
180 |
"ifsfscan.cpp GUID: {2abd4437-101c-49eb-99ac-c1174f55b626}", |
"ets_ifsfscan.cpp GUID: {aa3777d0-4cd3-46e5-b84e-03f01957cc71}", |
181 |
}; |
}; |
182 |
|
|
183 |
if (which < (sizeof(vcinfo) / sizeof(vcinfo[0]))) |
if (which < (sizeof(vcinfo) / sizeof(vcinfo[0]))) |