From 17fedeb262d21f7487852ebd4e6c4974eac08d9e Mon Sep 17 00:00:00 2001 From: chris west Date: Mon, 16 Nov 2020 20:02:25 -0800 Subject: [PATCH] add --encoding to --help --- README.md | 1 + src/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 6655a72..bec96b2 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ the gophersphere. -r, --raw Print raw Gopher response only -p, --print Print rendered Gopher response only -l, --local Connect to 127.0.0.1:7070 + -e, --encoding Render text documents in CP437 or UTF8. -c, --config FILE Use instead of ~/.config/phetch/phetch.conf -C, --no-config Don't use any config file diff --git a/src/main.rs b/src/main.rs index a88d376..fbb6b63 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,7 @@ Options: -r, --raw Print raw Gopher response only -p, --print Print rendered Gopher response only -l, --local Connect to 127.0.0.1:7070 + -e, --encoding Render text documents in CP437 or UTF8. -c, --config FILE Use instead of ~/.config/phetch/phetch.conf -C, --no-config Don't use any config file