From c6188975d2da6c1696c4433f6fce8ae4c9a6ac38 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Apr 2023 08:15:20 -0300 Subject: bin/: Make help string more consistent across several executables --- bin/rfc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/rfc') diff --git a/bin/rfc b/bin/rfc index 0860f45..fd36ac7 100755 --- a/bin/rfc +++ b/bin/rfc @@ -23,12 +23,16 @@ usage() { help() { cat <<-'EOF' + Options: -w show the path to the RFC file instead of displaying its contents -u update the local RFC database -h, --help show this message + RFC_NUMBER the RFC id number + + Lookup the given RFC in $XDG_DATA_HOME/doc/rfc/ (defaults to ~/.local/share), and feed it into the $PAGER, akin to doing: @@ -42,7 +46,6 @@ help() { Examples: - Show RFC 1234 in $PAGER: $ rfc 1234 -- cgit v1.2.3