diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-27 00:25:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-27 00:25:18 +1200 |
commit | fdb20f450e8ea7f9b1d64c92750126db63bf1b51 (patch) | |
tree | 06085668593cad50746eabfc675eb7ea03cbed45 /sh/profile.d/options.sh | |
parent | Add `lithist` to shell options (diff) | |
download | dotfiles-fdb20f450e8ea7f9b1d64c92750126db63bf1b51.tar.gz dotfiles-fdb20f450e8ea7f9b1d64c92750126db63bf1b51.zip |
Fix some comments in options.sh
Diffstat (limited to 'sh/profile.d/options.sh')
-rw-r--r-- | sh/profile.d/options.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/profile.d/options.sh b/sh/profile.d/options.sh index 74aa7cd9..b4000e5d 100644 --- a/sh/profile.d/options.sh +++ b/sh/profile.d/options.sh @@ -9,11 +9,11 @@ options() ( # Directory already exists; bail out [ -d "$dir" ] && exit - # Create the directory + # Create the directory and step into it mkdir -p -- "$dir" || exit cd -- "$dir" || exit - # Write grep(1)'s --help output to a file, even if it's empty + # Write the program's --help output to a file, even if it's empty "$1" --help </dev/null >help 2>/dev/null || exit # Shift the program name off; remaining arguments are the options to check |