From dfb8a943037a2d3f70d69b25c32bd30f34c61a1c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 4 Oct 2016 08:26:31 +1100 Subject: [PATCH] Finish documentation for scrot upload --- README.md | 2 ++ neofetch | 2 +- neofetch.1 | 8 +++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff2c721d..b99dc3f9 100644 --- a/README.md +++ b/README.md @@ -458,6 +458,8 @@ alias neofetch2="neofetch \ Screenshot: --scrot /path/to/img Take a screenshot, if path is left empty the screen- shot function will use \$scrot_dir and \$scrot_name. + --upload | -su /pth/t/img Same as --scrot but uploads the scrot to a website. + --image_host Website to upload scrots to. Takes: imgur, teknik --scrot_cmd cmd Screenshot program to launch Other: diff --git a/neofetch b/neofetch index f75d9ffc..c9aaa298 100755 --- a/neofetch +++ b/neofetch @@ -2975,7 +2975,7 @@ usage() { cat << EOF Screenshot: --scrot | -s /path/to/img Take a screenshot, if path is left empty the screen- shot function will use \$scrot_dir and \$scrot_name. - --upload | -su Same as --scrot but uploads the scrot to a website. + --upload | -su /pth/t/img Same as --scrot but uploads the scrot to a website. --image_host Website to upload scrots to. Takes: imgur, teknik --scrot_cmd cmd Screenshot program to launch diff --git a/neofetch.1 b/neofetch.1 index 5b4af043..d252650e 100644 --- a/neofetch.1 +++ b/neofetch.1 @@ -235,7 +235,13 @@ Whether or not to bold the ascii logo. .TP .B \--scrot 'path' Take a screenshot, if path is left empty the screenshot -function will use \$scrot_dir and \$scrot_name. +function will use $scrot_dir and $scrot_name. +.TP +.B \--upload | -su 'path' +Same as --scrot but uploads the scrot to a website. +.TP +.B \--image_host 'host' +Website to upload scrots to. Takes: imgur, teknik .TP .B \--scrot_cmd 'cmd' Screenshot program to launch