Skip to content

Commit 541c2b5

Browse files
committed
Merge branch 'eubic2020hackathon' of https://github.com/compomics/ThermoRawFileParser into eubic2020hackathon
2 parents 4e14de6 + e8a7092 commit 541c2b5

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

MainClass.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Reflection;
23
using System.IO;
34
using log4net;
45
using log4net.Core;
@@ -479,7 +480,10 @@ private static void RegularParametersParsing(string[] args)
479480

480481
if (help)
481482
{
482-
ShowHelp("usage is (use -option=value for the optional arguments):", null,
483+
string helpmessage = String.Format("usage is {0} [subcommand] [options]\nsubcommand is xic|query\n",
484+
Assembly.GetExecutingAssembly().GetName().Name);
485+
ShowHelp(helpmessage +
486+
"(use -option=value for the optional arguments):", null,
483487
optionSet);
484488
return;
485489
}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ For running on Windows, omit `mono`. The optional parameters only work in the -o
2626

2727
```
2828
ThermoRawFileParser.exe --help
29-
usage is (use -option=value for the optional arguments):
29+
usage is ThermoRawFileParser [subcommand] [option]
30+
subcommand is xic|query
31+
(use -option=value for the optional arguments):
3032
-h, --help Prints out the options.
3133
--version Prints out the library version.
3234
-i, --input=VALUE The raw file input (Required). Specify this or an

0 commit comments

Comments
 (0)