@@ -24,16 +24,12 @@ specified STDIN will be read. The default filename for STDIN is "a.rb", and all
24
24
filenames can be overridden by repeating the "-f" flag. The most useful reason
25
25
to do this is to change the syntax highlighting.
26
26
27
- If you'd like your gists to be associated with your GitHub account, so that you
28
- can edit them and find them in future, first use `gist --login` to obtain an
29
- Oauth2 access token. This is stored and used by gist in the future.
27
+ All gists must to be associated with a GitHub account, so you will need to login with
28
+ `gist --login` to obtain an Oauth2 access token. This is stored and used by gist in the future.
30
29
31
30
Private gists do not have guessable URLs and can be created with "-p", you can
32
31
also set the description at the top of the gist by passing "-d".
33
32
34
- Anonymous gists are not associated with your GitHub account, they can be created
35
- with "-a" even after you have used "gist --login".
36
-
37
33
If you would like to shorten the resulting gist URL, use the -s flag. This will
38
34
use GitHub's URL shortener, git.io. You can also use -R to get the link to the
39
35
raw gist.
@@ -50,7 +46,7 @@ original gist with the same GitHub account.
50
46
If you want to skip empty files, use the --skip-empty flag. If all files are
51
47
empty no gist will be created.
52
48
53
- Usage: #{ executable_name } [-o|-c|-e] [-p] [-s] [-R] [-d DESC] [-a] [- u URL]
49
+ Usage: #{ executable_name } [-o|-c|-e] [-p] [-s] [-R] [-d DESC] [-u URL]
54
50
[--skip-empty] [-P] [-f NAME|-t EXT]* FILE*
55
51
#{ executable_name } --login
56
52
#{ executable_name } [-l|-r]
@@ -92,10 +88,6 @@ Usage: #{executable_name} [-o|-c|-e] [-p] [-s] [-R] [-d DESC] [-a] [-u URL]
92
88
options [ :update ] = update
93
89
end
94
90
95
- opts . on ( "-a" , "--anonymous" , "Create an anonymous gist." ) do
96
- options [ :anonymous ] = true
97
- end
98
-
99
91
opts . on ( "-c" , "--copy" , "Copy the resulting URL to the clipboard" ) do
100
92
options [ :copy ] = true
101
93
end
0 commit comments