Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Fix #701: Change flags from --u and --a to -u and -a
Browse files Browse the repository at this point in the history
  • Loading branch information
geauxvirtual committed Feb 8, 2016
1 parent 7cb26be commit 2e4d245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/snapctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ func init() {
if err := f1.Parse(os.Args[idx : idx+2]); err == nil {
url = *prtURL
}
case "--u":
case "-u":
if err := f1.Parse(os.Args[idx : idx+2]); err == nil {
url = *prtU
}
case "--api-version":
if err := f1.Parse(os.Args[idx : idx+2]); err == nil {
ver = *prtAv
}
case "--a":
case "-a":
if err := f1.Parse(os.Args[idx : idx+2]); err == nil {
ver = *prtA
}
Expand Down

0 comments on commit 2e4d245

Please sign in to comment.