Skip to content

Commit 85517be

Browse files
committed
Release v0.2.6
* Deprecate the 'update' command * Mention the manpage in the README * Use stable URLs in the README
1 parent db4d50b commit 85517be

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# rfc Changelog
22

3+
## v0.2.6 (2019/05/11)
4+
5+
* Add a manpage
6+
* Deprecate the `update` command, that self-updates the script. It’s still
7+
there, but it doesn’t appear in the documentation.
8+
39
## v0.2.5 (2018/06/27)
410

511
* Use `grep -R` instead of shell globbing in `rfc search` not to break on

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Use `rfc help` to see all available subcommands.
4545

4646
```sh
4747
mkdir -p ~/bin
48-
curl -sL https://raw.githubusercontent.com/bfontaine/rfc/master/rfc > ~/bin/rfc
48+
curl -sL https://raw.githubusercontent.com/bfontaine/rfc/v0.2.6/rfc > ~/bin/rfc
4949
chmod u+x ~/bin/rfc
5050
```
5151

@@ -56,6 +56,10 @@ If it’s not in your `PATH`, you have to add it:
5656
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.bashrc
5757
```
5858

59+
You may also want to install the `manpage`, located in [`man/rfc.1`][manpage].
60+
61+
[manpage]: https://raw.githubusercontent.com/bfontaine/rfc/v0.2.6/man/rfc.1
62+
5963
### Using Homebrew
6064

6165
If you use [Homebrew](http://brew.sh) or [Linuxbrew](http://linuxbrew.sh/) you
@@ -79,8 +83,8 @@ The default directory is `~/.RFCs`.
7983

8084
## Troubleshooting
8185

82-
`rfc` version 0.2.5 added a special `--debug` flag that, if passed as the first
83-
argument, enables tracing of all the Bash commands in the script.
86+
`rfc` version 0.2.5 and above has a special `--debug` flag that, if passed as
87+
the first argument, enables tracing of all the Bash commands in the script.
8488

8589
## Credits
8690

rfc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Author: Baptiste Fontaine
66
# License: MIT
7-
# Version: 0.2.5 (2018/06/27)
7+
# Version: 0.2.6 (2019/05/11)
88
#
99
# URL: https://github.com/bfontaine/rfc
1010
#
@@ -161,7 +161,7 @@ __rfc() {
161161
rm -rf "$rfc_dir/_tmp"
162162
}
163163

164-
# rfc update
164+
# rfc update (deprecated)
165165
update() {
166166
fetch_url $RFC_REMOTE_URL $0
167167
chmod +x "$0"
@@ -175,7 +175,6 @@ __rfc() {
175175
rfc --help # display this text and exit
176176
177177
rfc <number> # display the RFC <number>
178-
rfc update # Update the script
179178
rfc search [OPTS] X # Search for X in local RFCs using grep with OPTS
180179
passed through
181180
rfc list # List locally available RFCs

0 commit comments

Comments
 (0)