From a4bb409c8f978b50461bfd537243cdcbcc2cab89 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Fri, 16 Aug 2019 19:03:40 -0500 Subject: [PATCH] IPA.exe help prints simple name --- IPA/Arguments.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IPA/Arguments.cs b/IPA/Arguments.cs index 904a2564..30dc9b93 100644 --- a/IPA/Arguments.cs +++ b/IPA/Arguments.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.IO; using System.Linq; using System.Text; @@ -155,7 +156,7 @@ namespace IPA public void PrintHelp() { const string indent = " "; - var filename = Environment.GetCommandLineArgs()[0]; + var filename = Path.GetFileName(Environment.GetCommandLineArgs()[0]); const string format = @"usage: {2}{0} [FLAGS] [ARGUMENTS]