usage: remove non-POSIX compliant features

This commit is contained in:
Michael Czigler 2020-07-22 11:46:58 -04:00 committed by GitHub
parent 920b95c042
commit cd38c40fe8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,16 +90,16 @@ checkUtils() {
# ARGS: None
# OUTS: None
################################################################################
function usage() {
local -r program=$(basename "$0")
usage() {
readonly PROGRAM=$(basename "$0")
echo "
NAME
${program} - Simple and efficient way to access various stats in a git repo
${PROGRAM} - Simple and efficient way to access various stats in a git repo
SYNOPSIS
For non-interactive mode: ${program} [OPTIONS]
For interactive mode: ${program}
For non-interactive mode: ${PROGRAM} [OPTIONS]
For interactive mode: ${PROGRAM}
DESCRIPTION
Any git repository contains tons of information about commits, contributors,