From 2117a45d1a5c0e5dc4095a394e7d2d401a2247e8 Mon Sep 17 00:00:00 2001
From: Scott Lahteine <github@thinkyhead.com>
Date: Wed, 23 Jan 2019 23:05:42 -0600
Subject: [PATCH] Tweak usage strings

---
 buildroot/share/fonts/genpages.c | 2 +-
 buildroot/share/git/firstpush    | 2 +-
 buildroot/share/git/ghtp         | 2 +-
 buildroot/share/git/mfadd        | 2 +-
 buildroot/share/git/mfdoc        | 2 +-
 buildroot/share/git/mffp         | 2 +-
 buildroot/share/git/mfinfo       | 2 +-
 buildroot/share/git/mfinit       | 2 +-
 buildroot/share/git/mfnew        | 2 +-
 buildroot/share/git/mfpr         | 2 +-
 buildroot/share/git/mfpub        | 2 +-
 buildroot/share/git/mfqp         | 2 +-
 buildroot/share/git/mfup         | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/buildroot/share/fonts/genpages.c b/buildroot/share/fonts/genpages.c
index c18ecd9fa8..2a87b19d47 100644
--- a/buildroot/share/fonts/genpages.c
+++ b/buildroot/share/fonts/genpages.c
@@ -157,7 +157,7 @@ uint8_t* get_utf8_value(uint8_t *pstart, wchar_t *pval) {
 }
 
 void usage(char* progname) {
-  fprintf(stderr, "Usage: %s\n", progname);
+  fprintf(stderr, "usage: %s\n", progname);
   fprintf(stderr, "   read data from stdin\n");
 }
 
diff --git a/buildroot/share/git/firstpush b/buildroot/share/git/firstpush
index 60767f04bc..443166088c 100755
--- a/buildroot/share/git/firstpush
+++ b/buildroot/share/git/firstpush
@@ -6,7 +6,7 @@
 # commit log to watch Travis CI progress.
 #
 
-[[ $# == 0 ]] || { echo "Usage: `basename $0`" 1>&2 ; exit 1; }
+[[ $# == 0 ]] || { echo "usage: `basename $0`" 1>&2 ; exit 1; }
 
 MFINFO=$(mfinfo) || exit 1
 IFS=' ' read -a INFO <<< "$MFINFO"
diff --git a/buildroot/share/git/ghtp b/buildroot/share/git/ghtp
index 83f461ef10..3c0d42a637 100755
--- a/buildroot/share/git/ghtp
+++ b/buildroot/share/git/ghtp
@@ -13,7 +13,7 @@ case "$1" in
   -[Hh]) TYPE=HTTPS ; MATCH="git@" ; FORMULA="$GH_SSH/$GH_HTTPS" ;;
   -[Ss]) TYPE=SSH ; MATCH="https:" ; FORMULA="$GH_HTTPS/$GH_SSH" ;;
   *)
-    echo "Usage: `basename $0` -h | -s" 1>&2
+    echo "usage: `basename $0` -h | -s" 1>&2
     echo -e " \e[0;92m-h\e[0m to switch to HTTPS" 1>&2
     echo -e " \e[0;92m-s\e[0m to switch to SSH" 1>&2
     exit 1
diff --git a/buildroot/share/git/mfadd b/buildroot/share/git/mfadd
index 48a810b7c6..5f1c0003c9 100755
--- a/buildroot/share/git/mfadd
+++ b/buildroot/share/git/mfadd
@@ -7,7 +7,7 @@
 # Example: mfadd thinkyhead:patch-1 copy_of_patch-1
 #
 
-[[ $# > 0 && $# < 3 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` (user | ref copyname)" 1>&2 ; exit 1; }
+[[ $# > 0 && $# < 3 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` (user | ref copyname)" 1>&2 ; exit 1; }
 
 # If a colon is included, split the parts
 if [[ $1 =~ ":" ]]; then
diff --git a/buildroot/share/git/mfdoc b/buildroot/share/git/mfdoc
index 4b62fa8b3c..eba599c612 100755
--- a/buildroot/share/git/mfdoc
+++ b/buildroot/share/git/mfdoc
@@ -5,7 +5,7 @@
 # Start Jekyll in watch mode to work on Marlin Documentation and preview locally
 #
 
-[[ $# == 0 ]] || { echo "Usage: `basename $0`" 1>&2 ; exit 1; }
+[[ $# == 0 ]] || { echo "usage: `basename $0`" 1>&2 ; exit 1; }
 
 MFINFO=$(mfinfo "$@") || exit 1
 IFS=' ' read -a INFO <<< "$MFINFO"
diff --git a/buildroot/share/git/mffp b/buildroot/share/git/mffp
index b8b7b37a79..8a5fb40de9 100755
--- a/buildroot/share/git/mffp
+++ b/buildroot/share/git/mffp
@@ -6,7 +6,7 @@
 # By default: `git push upstream HEAD:bugfix-1.1.x`
 #
 
-[[ $# < 3 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` [1|2] [commit-id]" 1>&2 ; exit 1; }
+[[ $# < 3 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [1|2] [commit-id]" 1>&2 ; exit 1; }
 
 if [[ $1 == '1' || $1 == '2' ]]; then
   MFINFO=$(mfinfo "$1") || exit 1
diff --git a/buildroot/share/git/mfinfo b/buildroot/share/git/mfinfo
index c38d6f6499..30a9872ff4 100755
--- a/buildroot/share/git/mfinfo
+++ b/buildroot/share/git/mfinfo
@@ -12,7 +12,7 @@
 #   - Current Branch
 #
 
-# usage() { echo "Usage: `basename $0` [1|2] [branch]" 1>&2 ; }
+# usage() { echo "usage: `basename $0` [1|2] [branch]" 1>&2 ; }
 # [[ $# < 3 && $1 != "-h" && $1 != "--help" ]] || { usage; exit 1; }
 
 CURR=$(git branch 2>/dev/null | grep ^* | sed 's/\* //g')
diff --git a/buildroot/share/git/mfinit b/buildroot/share/git/mfinit
index 05bab8767d..bc2495ad95 100755
--- a/buildroot/share/git/mfinit
+++ b/buildroot/share/git/mfinit
@@ -5,7 +5,7 @@
 # Create the upstream remote for a forked repository
 #
 
-[[ $# == 0 ]] || { echo "Usage: `basename $0`" 1>&2 ; exit 1; }
+[[ $# == 0 ]] || { echo "usage: `basename $0`" 1>&2 ; exit 1; }
 
 [[ -z $(git branch 2>/dev/null | grep ^* | sed 's/\* //g') ]] && { echo "No git repository here!" 1>&2 ; exit 1; }
 
diff --git a/buildroot/share/git/mfnew b/buildroot/share/git/mfnew
index a33c3f081a..6d067a7f08 100755
--- a/buildroot/share/git/mfnew
+++ b/buildroot/share/git/mfnew
@@ -6,7 +6,7 @@
 #
 
 usage() {
-  echo "Usage: `basename $0` [1|2] [name]" 1>&2
+  echo "usage: `basename $0` [1|2] [name]" 1>&2
 }
 
 [[ $# < 3 && $1 != "-h" && $1 != "--help" ]] || { usage; exit 1; }
diff --git a/buildroot/share/git/mfpr b/buildroot/share/git/mfpr
index 2750195b7e..773a13a05c 100755
--- a/buildroot/share/git/mfpr
+++ b/buildroot/share/git/mfpr
@@ -5,7 +5,7 @@
 # Make a PR of the current branch against RCBugFix or dev
 #
 
-[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` [branch]" 1>&2 ; exit 1; }
+[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [branch]" 1>&2 ; exit 1; }
 
 MFINFO=$(mfinfo "$@") || exit 1
 IFS=' ' read -a INFO <<< "$MFINFO"
diff --git a/buildroot/share/git/mfpub b/buildroot/share/git/mfpub
index 1295513339..29eb0543d7 100755
--- a/buildroot/share/git/mfpub
+++ b/buildroot/share/git/mfpub
@@ -9,7 +9,7 @@
 # any permanent changes to 'master'.
 #
 
-[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` [branch]" 1>&2 ; exit 1; }
+[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [branch]" 1>&2 ; exit 1; }
 
 MFINFO=$(mfinfo "$@") || exit 1
 IFS=' ' read -a INFO <<< "$MFINFO"
diff --git a/buildroot/share/git/mfqp b/buildroot/share/git/mfqp
index e00e7e52e9..da4248d423 100755
--- a/buildroot/share/git/mfqp
+++ b/buildroot/share/git/mfqp
@@ -5,7 +5,7 @@
 # Add all changed files, commit as "patch", do `mfrb` and `git push -f`
 #
 
-[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` [1|2]" 1>&2 ; exit 1; }
+[[ $# < 2 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [1|2]" 1>&2 ; exit 1; }
 
 MFINFO=$(mfinfo "$@") || exit 1
 IFS=' ' read -a INFO <<< "$MFINFO"
diff --git a/buildroot/share/git/mfup b/buildroot/share/git/mfup
index f28d76aa44..691259e2a9 100755
--- a/buildroot/share/git/mfup
+++ b/buildroot/share/git/mfup
@@ -7,7 +7,7 @@
 # - Force-push the branch to 'origin'
 #
 
-[[ $# < 3 && $1 != "-h" && $1 != "--help" ]] || { echo "Usage: `basename $0` [1|2] [branch]" 1>&2 ; exit 1; }
+[[ $# < 3 && $1 != "-h" && $1 != "--help" ]] || { echo "usage: `basename $0` [1|2] [branch]" 1>&2 ; exit 1; }
 
 MFINFO=$(mfinfo "$@") || exit 1
 IFS=' ' read -a INFO <<< "$MFINFO"
-- 
GitLab