|
@@ -3,7 +3,6 @@
|
3
|
3
|
|
4
|
4
|
BASEDIR=`pwd`
|
5
|
5
|
|
6
|
|
-usage="Execute a command in each subdirectory:\n\nUsage: $0 [-p | print subdir info] \"command\""
|
7
|
6
|
|
8
|
7
|
# More safety, by turning some bugs into errors.
|
9
|
8
|
# Without `errexit` you don’t need ! and can replace
|
|
@@ -44,7 +43,8 @@ while true; do
|
44
|
43
|
shift
|
45
|
44
|
;;
|
46
|
45
|
-h|--help)
|
47
|
|
- echo -e "Execute a command in each subdirectory:\n\nUsage: $0 [-p(--print-subdir) -e(--exclude) dir1, dir2,...,dirn)] \"command\""
|
|
46
|
+ echo -e "NAME\n\tineach - executes a command in each subdirectory"
|
|
47
|
+ echo -e "SYNOPSIS\n\tineach [-p, --print-subdir] [-e, --exclude dir1,dir2,...,dirn] \"command\""
|
48
|
48
|
exit 0
|
49
|
49
|
shift
|
50
|
50
|
;;
|