Skip to content

Commit

Permalink
Fix global options being printed twice
Browse files Browse the repository at this point in the history
  • Loading branch information
sttz committed Dec 8, 2018
1 parent 6db9df2 commit fa60ff2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Command/Arguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ public string Help(string command, string header, string footer, int width = 80)
// -- Actions
if (actions.Count > 0) {
foreach (var action in actions.Values) {
if (action.name == "") continue;

sb.AppendLine($"---- {action.name.ToUpper()}:");

if (action.description != null) {
Expand Down

0 comments on commit fa60ff2

Please sign in to comment.