From fdb20f450e8ea7f9b1d64c92750126db63bf1b51 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 27 Aug 2016 00:25:18 +1200 Subject: Fix some comments in options.sh --- sh/profile.d/options.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/profile.d') 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 help 2>/dev/null || exit # Shift the program name off; remaining arguments are the options to check -- cgit v1.2.3