File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ namespace EDSSharp
1010{
1111 class Program
1212 {
13-
1413 static libEDSsharp . EDSsharp eds = new EDSsharp ( ) ;
1514
1615 static void Main ( string [ ] args )
@@ -175,11 +174,14 @@ static ExporterDescriptor FindMatchingExporter(string outpath, string outType)
175174 static void PrintHelpText ( )
176175 {
177176 string name = Path . GetFileNameWithoutExtension ( Environment . GetCommandLineArgs ( ) [ 0 ] ) ;
178- Console . WriteLine ( $ "Usage: { name } --infile file.[xdd|eds] --outfile [valid output file] [OPTIONAL] --type [exporter type]") ;
179- Console . WriteLine ( "The output file format depends on --outfile extension and --type" ) ;
180- Console . WriteLine ( "If --outfile extension matcher one exporter then --type IS NOT needed" ) ;
181- Console . WriteLine ( "If --outfile extension matcher multiple exporter then --type IS needed" ) ;
182- Console . WriteLine ( "If --outfile has no extension --type IS needed" ) ;
177+ Console . WriteLine ( $ "Usage: { name } --infile FILE1 --outfile FILE2 [--type EXPORTER]") ;
178+ Console . WriteLine ( "Converts a given XDD or EDS file to many other available types." ) ;
179+ Console . WriteLine ( $ "Example (from repository root assuming repository structure): dotnet run { name } /Program.cs --project { name } --framework net481 --infile project.xdd --outfile map.md --type NetworkPDOReport") ;
180+ Console . WriteLine ( "" ) ;
181+ Console . WriteLine ( "FILE1 shall be a .xdd or .eds file." ) ;
182+ Console . WriteLine ( "FILE2 shall have the extension of one of the supported exporters below." ) ;
183+ Console . WriteLine ( "EXPORTER shall be one of the listed exporters below IF AND ONLY IF multiple of them support your output file extension." ) ;
184+ Console . WriteLine ( "" ) ;
183185 Console . WriteLine ( "Exporter types:" ) ;
184186
185187 var exporters = Filetypes . GetExporters ( ) ;
You can’t perform that action at this time.
0 commit comments