mirror of
https://github.com/sfall-team/int2ssl.git
synced 2026-07-27 16:52:42 -07:00
Edits to startup and usage text
This commit is contained in:
@@ -41,11 +41,11 @@ bool ProcessCommandLine(int argc, char* argv[]);
|
|||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
std::cout << "Fallout script decompiler, version 8.4.9 (sfall edition)" << std::endl
|
std::cout << "Fallout script decompiler, version 8.4.9 (sfall edition)\n"
|
||||||
<< "Copyright (C) Anchorite (TeamX), 2005-2009" << std::endl
|
<< "Copyright (C) Anchorite (TeamX), 2005-2009\n"
|
||||||
<< "anchorite2001@yandex.ru" << std::endl
|
<< "anchorite2001@yandex.ru\n"
|
||||||
<< "Continued by Nirran, phobos2077 (2014-2025), Mr.Stalin (2018-2021)" << std::endl
|
<< "Continued by Nirran, phobos2077 (2014-2025), Mr.Stalin (2018-2021)\n"
|
||||||
<< "Crossplatformed by alexeevdv (2015)" << std::endl;
|
<< "Crossplatformed by alexeevdv (2015)\n" << std::endl;
|
||||||
|
|
||||||
if (argc < 2 || !ProcessCommandLine(argc, argv))
|
if (argc < 2 || !ProcessCommandLine(argc, argv))
|
||||||
{
|
{
|
||||||
@@ -143,17 +143,16 @@ int main(int argc, char* argv[])
|
|||||||
|
|
||||||
void PrintUsage(std::string filename)
|
void PrintUsage(std::string filename)
|
||||||
{
|
{
|
||||||
std::cout << "Usage: " << filename << " [options] [-s value] file.int [file.ssl]" << std::endl
|
std::cout << "Usage: " << filename << " [options] [-s value] file.int [file.ssl]\n\n"
|
||||||
<< "Example: " << filename << " -d-1-a-b-e-s3 random.int" << std::endl
|
<< "Example: " << filename << " -d-1-a-b-e-s3 random.int\n\n"
|
||||||
<< std::endl
|
<< "Options:\n"
|
||||||
<< "Options" << std::endl
|
<< " -d: dump file\n"
|
||||||
<< " -d: dump file" << std::endl
|
<< " -1: input file is Fallout 1 script\n"
|
||||||
<< " -1: input file is Fallout 1 script" << std::endl
|
<< " -a: ignore wrong number of arguments\n"
|
||||||
<< " -a: ignore wrong number of arguments" << std::endl
|
<< " -b: insert omitted arguments backward\n"
|
||||||
<< " -b: insert omitted arguments backward" << std::endl
|
<< " -s: use Space instead of tab to indent\n"
|
||||||
<< " -s: use Space instead of tab to indent" << std::endl
|
<< " -e: stop decompiling on error\n"
|
||||||
<< " -e: stop decompiling on error" << std::endl
|
<< " -c: use AND/OR operators for short-circuit evaluation\n"
|
||||||
<< " -c: use AND/OR operators for short-circuit evaluation" << std::endl
|
|
||||||
<< " --: end of options" << std::endl;
|
<< " --: end of options" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user