1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 03:29:02 -08:00

document argc

This commit is contained in:
Connor Olding 2021-08-01 07:35:26 -07:00
parent d47c10c0ca
commit 5d57d6daf4

View file

@ -4,9 +4,9 @@
# YES_DASH
# YES_ASH
argc() { ### @-
argc() { ### @- validate the number of arguments in a function.
### ```sh
### # usage:
### # usage: myfunc() { argc -(eq|le|ge) [0-9] "$0" "$@" || return; }
###
### myfunc() {
### # use one of the following: