From cd38c40fe87e1b7ca0d999336335070963a83238 Mon Sep 17 00:00:00 2001 From: Michael Czigler <37268479+mcpcpc@users.noreply.github.com> Date: Wed, 22 Jul 2020 11:46:58 -0400 Subject: [PATCH] usage: remove non-POSIX compliant features --- git-quick-stats | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/git-quick-stats b/git-quick-stats index 16f9d08..41836ed 100755 --- a/git-quick-stats +++ b/git-quick-stats @@ -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,