@@ -57,7 +57,6 @@ func main() {
57
57
uid := flag .String ("u" , "" , "Update an existing gist. Takes ID as an argument." )
58
58
anonymousFlag := flag .Bool ("a" , false , "Create an anonymous gist." )
59
59
copyFlag := flag .Bool ("c" , false , "Copy the resulting URL to the clipboard." )
60
- // -e --embed Copy the embed code for the gist to the clipboard.
61
60
openFlag := flag .Bool ("o" , false , "Open the resulting URL in a browser." )
62
61
pasteFlag := flag .Bool ("P" , false , "Paste from the clipboard to gist." )
63
62
rawFlag := flag .Bool ("R" , false , "Display a raw URL of the new gist." )
@@ -76,7 +75,7 @@ func main() {
76
75
} else if * versionFlag {
77
76
fmt .Println ("go-gist " + VERSION )
78
77
} else {
79
- err = gist (* uid , * desc , * filetype , * filename , ! * privateFlag , * anonymousFlag , * copyFlag , * pasteFlag , * rawFlag , * shortenFlag , * openFlag )
78
+ err = gist (* uid , * desc , * filetype , * filename , ! * privateFlag , * shortenFlag , * anonymousFlag , * copyFlag , * openFlag , * pasteFlag , * rawFlag )
80
79
}
81
80
82
81
if err != nil {
@@ -139,7 +138,7 @@ func list() error {
139
138
return nil
140
139
}
141
140
142
- func gist (uid , desc , filetype , filename string , public , anonymous , copyFlag , pasteFlag , rawFlag , shortenFlag , openFlag bool ) error {
141
+ func gist (uid , desc , filetype , filename string , public , shortenFlag , anonymous , copyFlag , openFlag , pasteFlag , rawFlag bool ) error {
143
142
var err error
144
143
var clipboard * Clipboard
145
144
0 commit comments