From 895bcf7600505958b265100ddb21c7ed15a98fd5 Mon Sep 17 00:00:00 2001 From: gigas002 Date: Thu, 28 Mar 2024 21:02:08 +0900 Subject: [PATCH] Rename output file related OUTPUT parameter to FILE --- wayshot/src/cli.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wayshot/src/cli.rs b/wayshot/src/cli.rs index 3727e1b3..af585f4c 100644 --- a/wayshot/src/cli.rs +++ b/wayshot/src/cli.rs @@ -6,14 +6,14 @@ use tracing::Level; #[derive(Parser)] #[command(version, about)] pub struct Cli { - /// Custom output path can be of the following types: - /// 1. Directory (Default naming scheme is used for the image output). + /// Custom screenshot file path can be of the following types: + /// 1. Directory (Default naming scheme is used for the image screenshot file). /// 2. Path (Encoding is automatically inferred from the extension). /// 3. `-` (Indicates writing to terminal [stdout]). - #[arg(value_name = "OUTPUT", verbatim_doc_comment)] + #[arg(value_name = "FILE", verbatim_doc_comment)] pub file: Option, - /// Copy image to clipboard. Can be used simultaneously with [OUTPUT] or stdout. + /// Copy image to clipboard. Can be used simultaneously with [FILE] or stdout. /// Wayshot persists in the background offering the image till the clipboard is overwritten. /// Defaults to config value (`true`) #[arg(long, verbatim_doc_comment)] @@ -33,9 +33,9 @@ pub struct Cli { #[arg(short, long, verbatim_doc_comment)] pub cursor: Option, - /// Set image encoder, by default uses the file extension from the OUTPUT + /// Set image encoder, by default uses the file extension from the FILE /// positional argument. Otherwise defaults to config value (`png`). - #[arg(long, verbatim_doc_comment, visible_aliases = ["extension", "format", "output-format"], value_name = "FILE_EXTENSION")] + #[arg(long, verbatim_doc_comment, visible_aliases = ["extension", "format", "file-format"], value_name = "FILE_EXTENSION")] pub encoding: Option, /// List all valid outputs