Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Usage Options output the whitespace is missing #28

Closed
BlackFrog1 opened this issue Oct 26, 2013 · 3 comments
Closed

In Usage Options output the whitespace is missing #28

BlackFrog1 opened this issue Oct 26, 2013 · 3 comments

Comments

@BlackFrog1
Copy link

When PowerArgs/ArgUsage.cs was rewritten in 0910357 the whitespace was removed inadvertently. In the latest code, the opening parentheses is missing the whitespace.

PowerArgs/ArgUsage.cs - June 4 (Lines 359-365)

                if (inlineAliasInfo != string.Empty) inlineAliasInfo = "(" + inlineAliasInfo + ")";

                rows.Add(new List<ConsoleString>()
                {
                    new ConsoleString("-")+(usageInfo.Name + inlineAliasInfo),
                    descriptionString,
                });

PowerArgs/ArgUsage.cs - May 24 (Lines 343-347)

                rows.Add(new List<ConsoleString>()
                {
                    new ConsoleString(indicator)+(usageInfo.Name + (usageInfo.Aliases.Count > 0 ? " ("+ usageInfo.Aliases[0] +")" : "")),
                    descriptionString,
                });

@adamabdelhamed
Copy link
Owner

Sorry for not responding to this. I'll do my best to take care of this ASAP.

@adamabdelhamed
Copy link
Owner

This is now fixed, but not published to NuGet. I'll leave this issue open until the next publish happens (ETA a couple of weeks).

@adamabdelhamed
Copy link
Owner

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants