Skip to content

Commit

Permalink
minor: add -- to usage where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Nov 15, 2024
1 parent df5df5e commit 77d5c0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/kamp-files
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
set -euf

usage() {
printf "Usage: %s: [-b <fd|rg|find|git>] [backend_options]\n" "$(basename "$0")" >&2
printf "Usage: %s: [-b <fd|rg|find|git>] -- [backend_options]\n" "$(basename "$0")" >&2
exit 2
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/kamp-grep
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -euf
SHELL=/bin/sh

usage() {
printf "Usage: %s: [-q query] [rg_options]\n" "$(basename "$0")" >&2
printf "Usage: %s: [-q query] -- [rg_options]\n" "$(basename "$0")" >&2
exit 2
}

Expand Down

0 comments on commit 77d5c0f

Please sign in to comment.