sbs

A Simple Blogging System.
git clone https://git.sr.ht/~jbauer/sbs
Log | Files | Refs | README | LICENSE

commit f559095f3a5d380f1e68fd2c6d967927917a4350
parent ff2462db20b310a58f78f4e20f5a6fa10731b4fc
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 15 Feb 2022 01:12:29 -0500

Add unknown command handling

Diffstat:
Msbs | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sbs b/sbs @@ -59,6 +59,9 @@ if [ "$1" = "new" ]; then printf '</body>\n' >> "$3/templates/footer.html" printf '</html>\n' >> "$3/templates/footer.html" printf "Created: %s\n" "$3" + else + printf "Command '%s' not recognized.\n" "$2" + exit 1 fi exit 0 fi