Skip to content

Commit 36d1ede

Browse files
committed
add -n on getopt
1 parent 8789a38 commit 36d1ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

show-busy-java-threads.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ EOF
2424
exit $1
2525
}
2626

27-
ARGS=`getopt -a -o c:p:h -l count:,pid:,help -- "$@"`
27+
ARGS=`getopt -n "$PROG" -a -o c:p:h -l count:,pid:,help -- "$@"`
2828
[ $? -ne 0 ] && usage 1
2929
eval set -- "${ARGS}"
3030

0 commit comments

Comments
 (0)