summaryrefslogtreecommitdiff
path: root/.config/nvim/templates/sh/help.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/templates/sh/help.sh')
-rw-r--r--.config/nvim/templates/sh/help.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/templates/sh/help.sh b/.config/nvim/templates/sh/help.sh
new file mode 100644
index 0000000..953de68
--- /dev/null
+++ b/.config/nvim/templates/sh/help.sh
@@ -0,0 +1,10 @@
+help() { echo "<++> -
+
+USAGE:
+ <++> [OPTION]...
+
+OPTIONS:
+ -h show this help message"; }
+
+[ "$#" -lt 1 ] && help >&2 && exit 1
+