From 2d4f347d217e31d6685d52eca1657a5020e92c56 Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Mon, 20 May 2024 14:11:48 -0600 Subject: Update doc comments for Runes Added documentation comments for the new Runes that help with handling file redirection of STDERR. --- src/poem/elements/rune.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/poem/elements/rune.rs b/src/poem/elements/rune.rs index 1322ca5..688043d 100644 --- a/src/poem/elements/rune.rs +++ b/src/poem/elements/rune.rs @@ -21,7 +21,11 @@ use core::fmt; /// * `Poem` - A subcommand to run first (`\``) /// * `Read` - Read files into STDIN (`<`) /// * `Write` - Write STDOUT to a file (`>`) +/// * `Write2` - Write STDERR to a file (`2>`) +/// * `WriteAll` - Write both STDOUT and STDERR to a file (`&>`) /// * `Addendum` - Append STDOUT to a file (`>>`) +/// * `Addendum2` - Append STDERR to a file (`2>>`) +/// * `AddendumAll` - Append both STDOUT and STDERR to a file (`&>>`) /// * `Couplet` - Pipe the output of this command into the next (`|`) /// * `Quiet` - Fork the called process into the background (`&`) /// * `And` - Run the next command only if this one succeeds (`&&`) -- cgit v1.2.3