sekrit: use EOF for heredoc
This commit is contained in:
parent
46d4e6036f
commit
afa6641a79
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# sekrit
|
||||
# Written in 2018-2020,2022,2024 by Lucas
|
||||
# Written in 2018-2020,2022,2024-2025 by Lucas
|
||||
# CC0 1.0 Universal/Public domain - No rights reserved
|
||||
#
|
||||
# To the extent possible under law, the author(s) have dedicated all
|
||||
|
@ -27,7 +27,7 @@
|
|||
|
||||
usage()
|
||||
{
|
||||
cat - <<. >&2
|
||||
cat - <<EOF >&2
|
||||
Usage:
|
||||
${0##*/} add key [value ...]
|
||||
${0##*/} cp [-k] key
|
||||
|
@ -38,7 +38,7 @@ Usage:
|
|||
${0##*/} rm [-f] key [key ...]
|
||||
|
||||
If no value was provided on command line, add reads from stdin.
|
||||
.
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue