refactor: add Description & Referebce to help

This commit is contained in:
cuqmbr 2022-08-22 19:05:04 +03:00
parent 6e428e47f5
commit fe01d1ee5c
2 changed files with 8 additions and 5 deletions

View File

@ -216,7 +216,8 @@ class Program
.GetLayout() .GetLayout()
.Skip(HelpBuilder.Default.GetLayout().Count()) .Skip(HelpBuilder.Default.GetLayout().Count())
.Append(_ => Console.WriteLine( .Append(_ => Console.WriteLine(
"netxml2kml .netxml to .kml CLI converter & tools" + "Descritpion:" +
"\n netxml2kml .netxml to .kml CLI converter & tools" +
"\n" + "\n" +
"\nUsage:" + "\nUsage:" +
"\n netxml2kml [options]" + "\n netxml2kml [options]" +
@ -226,10 +227,12 @@ class Program
"\n -o, --output <file_path[.kml]> Path to the file to be created" + "\n -o, --output <file_path[.kml]> Path to the file to be created" +
"\n -c, --concat <file_path[.kml] file_path[.kml] ...> Concatenate multiple kml files" + "\n -c, --concat <file_path[.kml] file_path[.kml] ...> Concatenate multiple kml files" +
"\n -d, --use-database Use database (save/retrieve data)" + "\n -d, --use-database Use database (save/retrieve data)" +
"\n -q, --query <\"sql_query\"> Filter input/output using sql query" + "\n -q, --query <'sql_query'> Filter input/output using sql query" +
"\n -v, --verbose Show verbose output" + "\n -v, --verbose Show verbose output" +
"\n -h, --help Show help and usage information" + "\n -h, --help Show help and usage information" +
"\n --version Show version information"))); "\n --version Show version information" +
"\n" +
"\nReference https://github.com/cuqmbr/netxml2kml for more information")));
}).Build(); }).Build();
try try

View File

@ -10,8 +10,8 @@
<Description>netxml to kml CLI converter &amp; tools</Description> <Description>netxml to kml CLI converter &amp; tools</Description>
<Company>cuqmbr</Company> <Company>cuqmbr</Company>
<NeutralLanguage>en-US</NeutralLanguage> <NeutralLanguage>en-US</NeutralLanguage>
<AssemblyVersion>1.0.0</AssemblyVersion> <AssemblyVersion>0.1.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion> <FileVersion>0.1.0</FileVersion>
<PublishSingleFile>true</PublishSingleFile> <PublishSingleFile>true</PublishSingleFile>
</PropertyGroup> </PropertyGroup>