Regnerate Docopt
This commit is contained in:
parent
983e4af08c
commit
b68bfdfb43
4
abra
4
abra
@ -135,8 +135,8 @@ eval "var_$1+=($value)"; else eval "var_$1=$value"; fi; return 0; fi; done
|
|||||||
return 1; }; stdout() { printf -- "cat <<'EOM'\n%s\nEOM\n" "$1"; }; stderr() {
|
return 1; }; stdout() { printf -- "cat <<'EOM'\n%s\nEOM\n" "$1"; }; stderr() {
|
||||||
printf -- "cat <<'EOM' >&2\n%s\nEOM\n" "$1"; }; error() {
|
printf -- "cat <<'EOM' >&2\n%s\nEOM\n" "$1"; }; error() {
|
||||||
[[ -n $1 ]] && stderr "$1"; stderr "$usage"; _return 1; }; _return() {
|
[[ -n $1 ]] && stderr "$1"; stderr "$usage"; _return 1; }; _return() {
|
||||||
printf -- "exit %d\n" "$1"; exit "$1"; }; set -e; trimmed_doc=${DOC:1:1352}
|
printf -- "exit %d\n" "$1"; exit "$1"; }; set -e; trimmed_doc=${DOC:1:1353}
|
||||||
usage=${DOC:40:131}; digest=3774c; shorts=(-c -e -h -s -v)
|
usage=${DOC:40:131}; digest=0d574; shorts=(-c -e -h -s -v)
|
||||||
longs=(--config --env --help --stack --version); argcounts=(1 1 0 1 0)
|
longs=(--config --env --help --stack --version); argcounts=(1 1 0 1 0)
|
||||||
node_0(){ value __config 0 true; }; node_1(){ value __env 1 true; }; node_2(){
|
node_0(){ value __config 0 true; }; node_1(){ value __env 1 true; }; node_2(){
|
||||||
switch __help 2; }; node_3(){ value __stack 3 true; }; node_4(){
|
switch __help 2; }; node_3(){ value __stack 3 true; }; node_4(){
|
||||||
|
Reference in New Issue
Block a user