Code cleanup
This commit is contained in:
@@ -111,8 +111,7 @@ function main() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# display the help on the screen
|
||||||
# process the arguments
|
|
||||||
print_usage() {
|
print_usage() {
|
||||||
echo "$0 - git statistics over multiple directories"
|
echo "$0 - git statistics over multiple directories"
|
||||||
echo ""
|
echo ""
|
||||||
@@ -123,6 +122,7 @@ print_usage() {
|
|||||||
echo "-v show verbose output"
|
echo "-v show verbose output"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# process the arguments
|
||||||
while getopts 'u:r:vh' flag; do
|
while getopts 'u:r:vh' flag; do
|
||||||
case "${flag}" in
|
case "${flag}" in
|
||||||
u) REPOUSER="${OPTARG}" ;;
|
u) REPOUSER="${OPTARG}" ;;
|
||||||
|
Reference in New Issue
Block a user