config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 38a7007c07fbc39f158a2a1b6196417b8a19f0fe
parent ec3ea429e085cf608d256a3bae4167235db81afb
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Thu, 13 Apr 2023 13:19:40 -0700

Add to snapfs invalid usage message

Show the available commands when an invalid one is given.

Diffstat:
Mlocal/bin/bin/snapfs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/local/bin/bin/snapfs b/local/bin/bin/snapfs @@ -83,6 +83,7 @@ case "$com" in rm -f "$data"/"$1" ;; (*) - echo "$2: Unknown command" 1>&2 + echo "$2: Unknown command +Commands: list save restore store unstore" 1>&2 exit 1 ;; esac