1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 09:07:12 -07: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: