GitLab system status is available here and here

Commit 52c68e92 authored by Anthony Umemoto's avatar Anthony Umemoto
Browse files

v1.3.0 usage

parent b49ec0bb
......@@ -43,7 +43,7 @@ function gm_usage {
echo " A shell script that commits specified files at a regular interval."
echo ""
echo "USAGE"
echo " $ ./gitmang.sh [-vsBh] [-p preset] [-dDR dir] [-b branch] [-f freq] [-r reps] [file1 file2 ...]"
echo " $ ./gitmang.sh [-vsBh] [-px preset] [-dDR dir] [-b branch] [-f freq] [-r reps] [file1 file2 ...]"
echo ""
gm_clo
echo ""
......@@ -54,12 +54,12 @@ function gm_usage {
echo " Anthony Umemoto 2022, with debugging assistance from Omar Ahmadyar."
}
function gm_complete {
function gm_full {
echo "GITMANG.SH SYNOPSIS: For more usage information, view the README."
echo " A shell script that commits specified files at a regular interval."
echo ""
echo "USAGE"
echo " $ ./gitmang.sh [-vsBh] [-p preset] [-dDR dir] [-b branch] [-f freq] [-r reps] [file1 file2 ...]"
echo " $ ./gitmang.sh [-vsBh] [-px preset] [-dDR dir] [-b branch] [-f freq] [-r reps] [file1 file2 ...]"
echo ""
gm_clo
echo ""
......@@ -72,37 +72,20 @@ function gm_complete {
echo " Anthony Umemoto 2022, with debugging assistance from Omar Ahmadyar."
}
function gm_preset {
echo "CREATE_PRESET.SH SYNOPSIS: For more usage information, view the README."
echo " A shell script that creates option presets for gitmang. Presets are stored in presets.gm."
echo ""
echo "USAGE"
echo " $ ./create_preset.sh [-h] [-p preset] [-o outfile]"
echo ""
echo "OPTIONS"
echo " -p preset Specify the name of the preset to be made."
echo " -o outfile Specify an outfile to output the creaed preset to besides presets.gm."
echo " If no outfile is specified, output to stdout."
echo " -h Display program usage and synopsis."
echo ""
echo "AUTHOR"
echo " Anthony Umemoto 2022"
}
# process command line arguments
while getopts hrp opt; do
while getopts hcr opt; do
case "${opt}" in
h)
gm_usage
exit;;
c)
gm_clo
exit;;
r)
gm_rto
exit;;
p)
gm_preset
exit;;
*)
gm_complete
gm_full
exit;;
esac
done
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment