Skip to content

Commit

Permalink
sort flags
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
  • Loading branch information
jdolitsky committed Jan 13, 2019
1 parent e21b7a5 commit 0ee7fb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/chart-scanner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"log"
"os"
"sort"
"strings"

"github.com/helm/chartmuseum/pkg/config"
Expand Down Expand Up @@ -31,6 +32,7 @@ func main() {
}
}
app.Flags = flags
sort.Sort(cli.FlagsByName(app.Flags))
app.Run(os.Args)
}

Expand Down

0 comments on commit 0ee7fb5

Please sign in to comment.