From 075e82d2d0b9f99798c3654c174d8b50852e63c3 Mon Sep 17 00:00:00 2001 From: chris west Date: Sat, 11 Jan 2020 16:52:12 -0800 Subject: [PATCH] save some space --- README.md | 24 ++++++++++++------------ src/main.rs | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index b62d16c..fa2b940 100644 --- a/README.md +++ b/README.md @@ -26,24 +26,24 @@ the gophersphere. ## usage - phetch [options] Launch phetch in interactive mode - phetch [options] [url] Open Gopher URL in interactive mode + phetch [options] Launch phetch in interactive mode + phetch [options] url Open Gopher URL in interactive mode Options: - -s, --tls Try to open Gopher URLs securely w/ TLS - -o, --tor Use local Tor proxy to open all pages - -S, -O Disable TLS or Tor + -s, --tls Try to open Gopher URLs securely w/ TLS + -o, --tor Use local Tor proxy to open all pages + -S, -O Disable TLS or Tor - -r, --raw Print raw Gopher response only - -p, --print Print rendered Gopher response only - -l, --local Connect to 127.0.0.1:7070 + -r, --raw Print raw Gopher response only + -p, --print Print rendered Gopher response only + -l, --local Connect to 127.0.0.1:7070 - -c, --config FILE Use instead of ~/.config/phetch/phetch.conf - -C, --no-config Don't use any config file + -c, --config FILE Use instead of ~/.config/phetch/phetch.conf + -C, --no-config Don't use any config file - -h, --help Show this screen - -v, --version Show phetch version + -h, --help Show this screen + -v, --version Show phetch version Command line options always override options set in phetch.conf. diff --git a/src/main.rs b/src/main.rs index bdf68f3..461c94a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -217,24 +217,24 @@ fn print_usage() { " Usage: - phetch [options] Launch phetch in interactive mode - phetch [options] [url] Open Gopher URL in interactive mode + phetch [options] Launch phetch in interactive mode + phetch [options] url Open Gopher URL in interactive mode Options: - -s, --tls Try to open Gopher URLs securely w/ TLS - -o, --tor Use local Tor proxy to open all pages - -S, -O Disable TLS or Tor + -s, --tls Try to open Gopher URLs securely w/ TLS + -o, --tor Use local Tor proxy to open all pages + -S, -O Disable TLS or Tor - -r, --raw Print raw Gopher response only - -p, --print Print rendered Gopher response only - -l, --local Connect to 127.0.0.1:7070 + -r, --raw Print raw Gopher response only + -p, --print Print rendered Gopher response only + -l, --local Connect to 127.0.0.1:7070 - -c, --config FILE Use instead of ~/.config/phetch/phetch.conf - -C, --no-config Don't use any config file + -c, --config FILE Use instead of ~/.config/phetch/phetch.conf + -C, --no-config Don't use any config file - -h, --help Show this screen - -v, --version Show phetch version + -h, --help Show this screen + -v, --version Show phetch version Command line options always override options set in phetch.conf.