From 3def8ccaf4160f43e5435f5e269129614808a8f7 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 25 Apr 2020 23:19:32 -0500 Subject: [PATCH] Cleanup: ensure help sentences end in period and use "build" instead of "built" --- build/scripts/generate.sh | 40 ++++++++++++++++++++-------------------- build/scripts/install.sh | 38 +++++++++++++++++++------------------- build/scripts/package.sh | 28 ++++++++++++++-------------- 3 files changed, 53 insertions(+), 53 deletions(-) diff --git a/build/scripts/generate.sh b/build/scripts/generate.sh index 481ec3d..7957185 100644 --- a/build/scripts/generate.sh +++ b/build/scripts/generate.sh @@ -214,32 +214,32 @@ generate_help(){ echo -e " ${c_notice}Version $version$c_reset" echo echo -e "$c_highlight$system_name$c_reset $c_notice<${c_reset}operation$c_notice>$c_reset" - echo -e " ${c_important}build${c_reset} Build or compile the code" - echo -e " ${c_important}clean${c_reset} Delete all build files" + echo -e " ${c_important}build${c_reset} Build or compile the code." + echo -e " ${c_important}clean${c_reset} Delete all build files." echo echo -e "${c_highlight}Options:$c_reset" - echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen" - echo -e " +${c_important}l$c_reset, ++${c_important}light$c_reset Use color modes that show up better on light backgrounds" - echo -e " +${c_important}n$c_reset, ++${c_important}no_color$c_reset Do not use color" - echo -e " +${c_important}v$c_reset, ++${c_important}version$c_reset Print the version number of this program" + echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen." + echo -e " +${c_important}l$c_reset, ++${c_important}light$c_reset Use color modes that show up better on light backgrounds." + echo -e " +${c_important}n$c_reset, ++${c_important}no_color$c_reset Do not use color." + echo -e " +${c_important}v$c_reset, ++${c_important}version$c_reset Print the version number of this program." echo echo -e "${c_highlight}Generate Options:$c_reset" - echo -e " -${c_important}b$c_reset, --${c_important}build${c_reset} Custom build directory" - echo -e " -${c_important}s$c_reset, --${c_important}settings${c_reset} Custom build settings directory" - echo -e " -${c_important}B$c_reset, --${c_important}path_bash${c_reset} Custom path to the bash source files" - echo -e " -${c_important}c$c_reset, --${c_important}path_c${c_reset} Custom path to the c source files" - echo -e " -${c_important}S$c_reset, --${c_important}path_settings${c_reset} Custom path to the settings files" - echo -e " -${c_important}p$c_reset, --${c_important}project${c_reset} Project name for storing built status" - echo -e " -${c_important}w$c_reset, --${c_important}work_directory${c_reset} Use includes/libraries from this directory instead of system" - echo -e " -${c_important}d$c_reset, --${c_important}defines${c_reset} Override custom defines with these defines" - echo -e " -${c_important}l$c_reset, --${c_important}level${c_reset} Use FLL dependencies by level (-lfll_0, -lfll_1, -lfll_2)" - echo -e " -${c_important}m$c_reset, --${c_important}monolithic${c_reset} Use FLL dependencies by monolithic (-lfll)" + echo -e " -${c_important}b$c_reset, --${c_important}build${c_reset} Custom build directory." + echo -e " -${c_important}s$c_reset, --${c_important}settings${c_reset} Custom build settings directory." + echo -e " -${c_important}B$c_reset, --${c_important}path_bash${c_reset} Custom path to the bash source files." + echo -e " -${c_important}c$c_reset, --${c_important}path_c${c_reset} Custom path to the c source files." + echo -e " -${c_important}S$c_reset, --${c_important}path_settings${c_reset} Custom path to the settings files." + echo -e " -${c_important}p$c_reset, --${c_important}project${c_reset} Project name for storing build status." + echo -e " -${c_important}w$c_reset, --${c_important}work_directory${c_reset} Use includes/libraries from this directory instead of system." + echo -e " -${c_important}d$c_reset, --${c_important}defines${c_reset} Override custom defines with these defines." + echo -e " -${c_important}l$c_reset, --${c_important}level${c_reset} Use FLL dependencies by level (-lfll_0, -lfll_1, -lfll_2)." + echo -e " -${c_important}m$c_reset, --${c_important}monolithic${c_reset} Use FLL dependencies by monolithic (-lfll)." echo echo -e "${c_highlight}Special Options:$c_reset" - echo -e " --${c_important}enable-shared${c_reset} Forcibly do install shared files" - echo -e " --${c_important}disable-shared${c_reset} Forcibly do not install shared files" - echo -e " --${c_important}enable-static${c_reset} Forcibly do install static files" - echo -e " --${c_important}disable-static${c_reset} Forcibly do not install static files" + echo -e " --${c_important}enable-shared${c_reset} Forcibly do install shared files." + echo -e " --${c_important}disable-shared${c_reset} Forcibly do not install shared files." + echo -e " --${c_important}enable-static${c_reset} Forcibly do install static files." + echo -e " --${c_important}disable-static${c_reset} Forcibly do not install static files." echo } diff --git a/build/scripts/install.sh b/build/scripts/install.sh index 6908a33..24eee69 100644 --- a/build/scripts/install.sh +++ b/build/scripts/install.sh @@ -279,29 +279,29 @@ install_help(){ echo -e "$c_highlight$system_name$c_reset" echo echo -e "${c_highlight}Options:$c_reset" - echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen" - echo -e " +${c_important}l$c_reset, ++${c_important}light$c_reset Use color modes that show up better on light backgrounds" - echo -e " +${c_important}n$c_reset, ++${c_important}no_color$c_reset Do not use color" - echo -e " +${c_important}v$c_reset, ++${c_important}version$c_reset Print the version number of this program" + echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen." + echo -e " +${c_important}l$c_reset, ++${c_important}light$c_reset Use color modes that show up better on light backgrounds." + echo -e " +${c_important}n$c_reset, ++${c_important}no_color$c_reset Do not use color." + echo -e " +${c_important}v$c_reset, ++${c_important}version$c_reset Print the version number of this program." echo echo -e "${c_highlight}Install Options:$c_reset" - echo -e " -${c_important}b$c_reset, --${c_important}build${c_reset} Custom build directory" - echo -e " -${c_important}s$c_reset, --${c_important}settings${c_reset} Custom build settings file" - echo -e " -${c_important}P$c_reset, --${c_important}prefix${c_reset} Custom destination prefix" - echo -e " -${c_important}B$c_reset, --${c_important}bindir${c_reset} Custom destination bin/ directory" - echo -e " -${c_important}I$c_reset, --${c_important}includedir${c_reset} Custom destination include/ directory" - echo -e " -${c_important}L$c_reset, --${c_important}libdir${c_reset} Custom destination lib/ directory" - echo -e " -${c_important}w$c_reset, --${c_important}work_directory${c_reset} Install to this directory instead of system" + echo -e " -${c_important}b$c_reset, --${c_important}build${c_reset} Custom build directory." + echo -e " -${c_important}s$c_reset, --${c_important}settings${c_reset} Custom build settings file." + echo -e " -${c_important}P$c_reset, --${c_important}prefix${c_reset} Custom destination prefix." + echo -e " -${c_important}B$c_reset, --${c_important}bindir${c_reset} Custom destination bin/ directory." + echo -e " -${c_important}I$c_reset, --${c_important}includedir${c_reset} Custom destination include/ directory." + echo -e " -${c_important}L$c_reset, --${c_important}libdir${c_reset} Custom destination lib/ directory." + echo -e " -${c_important}w$c_reset, --${c_important}work_directory${c_reset} Install to this directory instead of system." echo echo -e "${c_highlight}Special Options:$c_reset" - echo -e " --${c_important}enable-shared${c_reset} Forcibly do install shared files" - echo -e " --${c_important}disable-shared${c_reset} Forcibly do not install shared files" - echo -e " --${c_important}enable-static${c_reset} Forcibly do install static files" - echo -e " --${c_important}disable-static${c_reset} Forcibly do not install static files" - echo -e " --${c_important}libraries-static${c_reset} Custom destination for static libraries" - echo -e " --${c_important}libraries-shared${c_reset} Custom destination for shared libraries" - echo -e " --${c_important}programs-static${c_reset} Custom destination for static programs" - echo -e " --${c_important}programs-shared${c_reset} Custom destination for shared programs" + echo -e " --${c_important}enable-shared${c_reset} Forcibly do install shared files." + echo -e " --${c_important}disable-shared${c_reset} Forcibly do not install shared files." + echo -e " --${c_important}enable-static${c_reset} Forcibly do install static files." + echo -e " --${c_important}disable-static${c_reset} Forcibly do not install static files." + echo -e " --${c_important}libraries-static${c_reset} Custom destination for static libraries." + echo -e " --${c_important}libraries-shared${c_reset} Custom destination for shared libraries." + echo -e " --${c_important}programs-static${c_reset} Custom destination for static programs." + echo -e " --${c_important}programs-shared${c_reset} Custom destination for shared programs." echo } diff --git a/build/scripts/package.sh b/build/scripts/package.sh index 3bfb2a8..c6f1820 100644 --- a/build/scripts/package.sh +++ b/build/scripts/package.sh @@ -218,24 +218,24 @@ package_help(){ echo -e " ${c_notice}Version $version$c_reset" echo echo -e "$c_highlight$system_name$c_reset $c_notice<${c_reset}operation$c_notice>$c_reset" - echo -e " ${c_important}build${c_reset} Build the package" - echo -e " ${c_important}dependencies${c_reset} Rebuild all dependencies" - echo -e " ${c_important}clean${c_reset} Delete all built packages" + echo -e " ${c_important}build${c_reset} Build the package." + echo -e " ${c_important}dependencies${c_reset} Rebuild all dependencies." + echo -e " ${c_important}clean${c_reset} Delete all built packages." echo echo -e "${c_highlight}Options:$c_reset" - echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen" - echo -e " +${c_important}l$c_reset, ++${c_important}light$c_reset Use color modes that show up better on light backgrounds" - echo -e " +${c_important}n$c_reset, ++${c_important}no_color$c_reset Do not use color" - echo -e " +${c_important}v$c_reset, ++${c_important}version$c_reset Print the version number of this program" + echo -e " -${c_important}h$c_reset, --${c_important}help$c_reset Print this help screen." + echo -e " +${c_important}l$c_reset, ++${c_important}light$c_reset Use color modes that show up better on light backgrounds." + echo -e " +${c_important}n$c_reset, ++${c_important}no_color$c_reset Do not use color." + echo -e " +${c_important}v$c_reset, ++${c_important}version$c_reset Print the version number of this program." echo echo -e "${c_highlight}Package Options:$c_reset" - echo -e " -${c_important}d$c_reset, --${c_important}destination${c_reset} Specify a custom package destination directory" - echo -e " -${c_important}b$c_reset, --${c_important}build${c_reset} Specify a custom build directory" - echo -e " -${c_important}i$c_reset, --${c_important}individual${c_reset} Build packages by individual package (levels 0. 1. and 2)" - echo -e " -${c_important}l$c_reset, --${c_important}level${c_reset} Build packages by level (levels 0. 1. and 2)" - echo -e " -${c_important}m$c_reset, --${c_important}monolithic${c_reset} Build a monolithic package (levels 0. 1. and 2)" - echo -e " -${c_important}p$c_reset, --${c_important}program${c_reset} Build program packages (level 3)" - echo -e " -${c_important}s$c_reset, --${c_important}sources${c_reset} Specify a custom sources directory" + echo -e " -${c_important}d$c_reset, --${c_important}destination${c_reset} Specify a custom package destination directory." + echo -e " -${c_important}b$c_reset, --${c_important}build${c_reset} Specify a custom build directory." + echo -e " -${c_important}i$c_reset, --${c_important}individual${c_reset} Build packages by individual package (levels 0. 1. and 2)." + echo -e " -${c_important}l$c_reset, --${c_important}level${c_reset} Build packages by level (levels 0. 1. and 2)." + echo -e " -${c_important}m$c_reset, --${c_important}monolithic${c_reset} Build a monolithic package (levels 0. 1. and 2)." + echo -e " -${c_important}p$c_reset, --${c_important}program${c_reset} Build program packages (level 3)." + echo -e " -${c_important}s$c_reset, --${c_important}sources${c_reset} Specify a custom sources directory." echo } -- 1.8.3.1