From b38c91a8ee1fa07074bcaf0f667603fc1483614f Mon Sep 17 00:00:00 2001 From: Avril Date: Fri, 11 Mar 2022 15:20:19 +0000 Subject: [PATCH] TODO: Added short `-` arguments convention MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fortune for sink's current commit: Future blessing − 末吉 --- TODO | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 0000000..ec4a443 --- /dev/null +++ b/TODO @@ -0,0 +1,17 @@ +Short Arguments: + -i Replace stdin (default) + -o Replace stdout (default) + -e Replace stderr (default with feature REPLACE_STDERR) + -I No replace stdin + -O No replace stderr + -E No replace stderr (default without feature REPLACE_STDERR) + +Examples: + $ sink -ioe cat # sink steam in,out,err + $ sink -iOE cat # sink stream in. keep stream out and err + $ sink -O cat # sink default streams, but keep out + $ sink -E cat # sink default streams and err +Redundant examples: + $ sink -iI cat # sink default streams and in (I comes after the redundant i) + $ sink -Ii cat # sink default streams except in (i comes after the redundant I) +