Skip to content

Commit c8056dd

Browse files
committed
feat: change --freeze shorthand to -z
1 parent 5604265 commit c8056dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hyprshot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Options:
2020
-m, --mode one of: output, window, region, active, OUTPUT_NAME
2121
-o, --output-folder directory in which to save screenshot
2222
-f, --filename the file name of the resulting screenshot
23-
-F, --freeze freeze the screen on initialization
23+
-z, --freeze freeze the screen on initialization
2424
-d, --debug print debug information
2525
-s, --silent don't send notification when screenshot is saved
2626
-r, --raw output raw image data to stdout
@@ -229,7 +229,7 @@ function parse_mode() {
229229
}
230230

231231
function args() {
232-
local options=$(getopt -o hf:o:m:dsFr:t: --long help,filename:,output-folder:,mode:,clipboard-only,debug,silent,freeze,raw,notif-timeout: -- "$@")
232+
local options=$(getopt -o hf:o:m:dszr:t: --long help,filename:,output-folder:,mode:,clipboard-only,debug,silent,freeze,raw,notif-timeout: -- "$@")
233233
eval set -- "$options"
234234

235235
while true; do
@@ -256,7 +256,7 @@ function args() {
256256
-d | --debug)
257257
DEBUG=1
258258
;;
259-
-F | --freeze)
259+
-z | --freeze)
260260
FREEZE=1
261261
;;
262262
-s | --silent)

0 commit comments

Comments
 (0)