@@ -37,9 +37,6 @@ public class TSMUArgs
3737 [ Option ( "dry" , HelpText = nameof ( LocalizedString . HelpTextDryRun ) , ResourceType = typeof ( LocalizedString ) ) ]
3838 public bool ? DryRun { get ; set ; }
3939
40- [ Option ( 'h' , HelpText = nameof ( LocalizedString . HelpTextHelp ) , ResourceType = typeof ( LocalizedString ) ) ]
41- public string ? _help { get ; set ; }
42-
4340 public TSMUArgs ( )
4441 {
4542 // This is used to preserve the help texts for the command line arguments.
@@ -110,11 +107,6 @@ public static void Main(string[] args)
110107 } , args ) ;
111108 parsed . WithParsed ( args =>
112109 {
113- if ( args . _help != null )
114- {
115- HelpArgExit ( title , desc , build , copr , lic , dsclmr , parsed ) ;
116- return ;
117- }
118110 if ( ! Path . Exists ( args . SavPath = Path . GetFullPath ( args . SavPath ?? string . Empty ) ) )
119111 {
120112 ExitArgsError ( string . Format ( LocalizedString . ErrorSavNotFound , args . SavPath ) ,
@@ -346,7 +338,7 @@ private static void HelpArgExit(string? title, string desc, string? build, strin
346338 h . AddEnumValuesToHelpText = true ;
347339 h . AutoVersion = false ;
348340
349- h . Heading = $ "{ title } { build } . { copr } .";
341+ h . Heading = $ "{ title } { build } { copr } .";
350342 h . Copyright = $ "{ lic } { dsclmr } { Environment . NewLine } ";
351343 h . AddPreOptionsText ( string . Format ( LocalizedString . HelpTextDesc ,
352344 desc , Environment . NewLine , LocalizedString . HelpTextOptPath ) ) ;
@@ -362,8 +354,8 @@ private static void ExitArgsError(string? err, string? cmd, string? title, strin
362354 {
363355 var errText = new HelpText
364356 {
365- Heading = $ "{ title } { build } . { copr } .",
366- Copyright = $ "{ lic } . { dsclmr } . " + Environment . NewLine ,
357+ Heading = $ "{ title } { build } { copr } .",
358+ Copyright = $ "{ lic } { dsclmr } " + Environment . NewLine ,
367359 } ;
368360 errText . AddPreOptionsLine ( err ) ;
369361 errText . AddPreOptionsLine ( string . Empty ) ;
0 commit comments