From 0ffbf28dd20aff284cade86c9215be6a693cb7d2 Mon Sep 17 00:00:00 2001 From: Shteryana Shopova Date: Sat, 20 Jul 2019 22:06:22 +0300 Subject: [PATCH] Reorder cmdline args proper (no functional change) --- access/fetch-keys/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/access/fetch-keys/main.go b/access/fetch-keys/main.go index 847d7c1..a56b7a6 100644 --- a/access/fetch-keys/main.go +++ b/access/fetch-keys/main.go @@ -23,11 +23,11 @@ import ( func main() { parser := argparse.NewParser("sshkeys", "Fetch SSH keys for a Github team members") - ghTeam := parser.String("t", "team", &argparse.Options{Required: false, Help: "Github Team name", Default: "NOC"}) - ghOrganization := parser.String("o", "org", &argparse.Options{Required: false, Help: "Github Organization name", Default: "OpenFest"}) authToken := parser.String("a", "authtoken", &argparse.Options{Required: false, Help: "Github Auth token", Default: AuthToken}) - quiet := parser.Flag("q", "quiet", &argparse.Options{Required: false, Help: "Skip output to stdout", Default: false}) keysDir := parser.String("d", "directory", &argparse.Options{Required: false, Help: "Path where to store the key files", Default: "./"}) + quiet := parser.Flag("q", "quiet", &argparse.Options{Required: false, Help: "Skip output to stdout", Default: false}) + ghOrganization := parser.String("o", "org", &argparse.Options{Required: false, Help: "Github Organization name", Default: "OpenFest"}) + ghTeam := parser.String("t", "team", &argparse.Options{Required: false, Help: "Github Team name", Default: "NOC"}) // Parse input err := parser.Parse(os.Args)