Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
### 2025-09-29

grimblast: add getopt to Nix wrapper
grimblast: refactor getopt error handling to avoid duplicate error messages

### 2025-09-15

Expand Down
2 changes: 1 addition & 1 deletion grimblast/grimblast
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ main() {
local parsed_args

parsed_args="$(getopt --name "$NAME" --options 'nocfe:w:s:t:' --longoptions 'notify,openparentdir,cursor,freeze,expire-time:,wait:,scale:,filetype:' -- "$@")" || {
echo "$NAME: ERROR: failed to parse arguments" >&2
usage >&2
exit 1
}
eval "set -- $parsed_args"
Expand Down
4 changes: 2 additions & 2 deletions grimblast/grimblast.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ grimblast - a helper for screenshots within Hyprland

# SYNOPSIS

*grimblast* [-n|--notify] [-o|--openparentdir] [-e|--expire-time <ms>] [-c|--cursor] [-f|--freeze] [-w N|--wait N] [-s N|--scale N] [-t TYPE|--filetype TYPE] (copy|save|copysave|edit) [TARGET] [FILE]
*grimblast* check
*grimblast* [OPTIONS] (copy|save|copysave|edit) [TARGET] [FILE]++
*grimblast* check++
*grimblast* usage

# OPTIONS
Expand Down