aboutsummaryrefslogtreecommitdiff
path: root/bin/open
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-05-12 20:22:10 -0300
committerEuAndreh <eu@euandre.org>2022-05-12 20:22:10 -0300
commit5d967b9fe891798ca0b782da6c8eeb93cd777084 (patch)
tree6045e86f284feff300e3d0346b87374e843d638e /bin/open
parentbin/mkdtemp: Fix name in usage text (diff)
downloaddotfiles-5d967b9fe891798ca0b782da6c8eeb93cd777084.tar.gz
dotfiles-5d967b9fe891798ca0b782da6c8eeb93cd777084.tar.xz
bin/{open,print}: Fix indentation of heredoc strings
Diffstat (limited to 'bin/open')
-rwxr-xr-xbin/open24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/open b/bin/open
index df1ad56..d2eedd3 100755
--- a/bin/open
+++ b/bin/open
@@ -3,26 +3,26 @@ set -eu
usage() {
cat <<-'EOF'
- Usage:
- open FILE...
- open -h
-EOF
+ Usage:
+ open FILE...
+ open -h
+ EOF
}
help() {
cat <<-'EOF'
- Options:
- -h, --help show this message
+ Options:
+ -h, --help show this message
- Examples:
+ Examples:
- Open an HTML file on the current $BROWSER:
- open index.html
+ Open an HTML file on the current $BROWSER:
+ $ open index.html
- Open multiple PDF files (with zathura):
- open *.pdf
-EOF
+ Open multiple PDF files (with zathura):
+ $ open *.pdf
+ EOF
}
for flag in "$@"; do