From 4494fd2afb566fc906dcb86f01f93d58ca42da37 Mon Sep 17 00:00:00 2001 From: Erick Cafferata Date: Sat, 19 Jan 2019 15:56:00 -0500 Subject: update shell completion and documentation --- man/asp32.1.txt | 3 +++ shell/bash-completion | 2 +- shell/zsh-completion | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/man/asp32.1.txt b/man/asp32.1.txt index c91f987..998c560 100644 --- a/man/asp32.1.txt +++ b/man/asp32.1.txt @@ -109,6 +109,9 @@ Options *-h*:: Print a short help text and exit. +*-u*:: + Force upstream asp behavior. + *-V*:: Print a short version string and exit. diff --git a/shell/bash-completion b/shell/bash-completion index 3eebbd3..881ab3d 100644 --- a/shell/bash-completion +++ b/shell/bash-completion @@ -23,7 +23,7 @@ _asp() { # flags local -A opts=( [UNKNOWN]='-a' - [NONE]='-f -h -V' + [NONE]='-f -h -u -V' ) if in_array "$prev" ${opts[UNKNOWN]}; then diff --git a/shell/zsh-completion b/shell/zsh-completion index 13ede7c..20aa550 100644 --- a/shell/zsh-completion +++ b/shell/zsh-completion @@ -43,6 +43,7 @@ _arguments \ '-a[architecture]' \ '-f[overwrite files]' \ '-h[print help and exit]' \ + '-u[Force upstream asp behavior]' \ '-V[print version and exit]' \ '*::asp command:_asp_command' -- cgit v1.2.3-70-g09d2