From 8f2eeae2853a4a7d0aea9c09a2c7ed4c2c7e557f Mon Sep 17 00:00:00 2001 From: Mark Stosberg Date: Tue, 23 Feb 2021 10:20:45 -0500 Subject: grimshot: document support for piping to STDOUT. --- contrib/grimshot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/grimshot') diff --git a/contrib/grimshot b/contrib/grimshot index 461a5eef..921837f9 100755 --- a/contrib/grimshot +++ b/contrib/grimshot @@ -32,13 +32,13 @@ FILE=${3:-$(getTargetDirectory)/$(date -Ins).png} if [ "$ACTION" != "save" ] && [ "$ACTION" != "copy" ] && [ "$ACTION" != "check" ]; then echo "Usage:" - echo " grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE]" + echo " grimshot [--notify] (copy|save) [active|screen|output|area|window] [FILE|-]" echo " grimshot check" echo " grimshot usage" echo "" echo "Commands:" echo " copy: Copy the screenshot data into the clipboard." - echo " save: Save the screenshot to a regular file." + echo " save: Save the screenshot to a regular file or '-' to pipe to STDOUT." echo " check: Verify if required tools are installed and exit." echo " usage: Show this message and exit." echo "" -- cgit v1.2.3