Browse Source

IPA.exe help prints simple name

pull/32/head
Anairkoen Schno 5 years ago
parent
commit
514e8f419b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      IPA/Arguments.cs

+ 2
- 1
IPA/Arguments.cs View File

@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -155,7 +156,7 @@ namespace IPA
public void PrintHelp() public void PrintHelp()
{ {
const string indent = " "; const string indent = " ";
var filename = Environment.GetCommandLineArgs()[0];
var filename = Path.GetFileName(Environment.GetCommandLineArgs()[0]);
const string format = @"usage: const string format = @"usage:
{2}{0} [FLAGS] [ARGUMENTS] {2}{0} [FLAGS] [ARGUMENTS]


Loading…
Cancel
Save