diff options
Diffstat (limited to 'app')
-rwxr-xr-x | app | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -352,16 +352,15 @@ method_stop() { method_list() { local mode="pretty" - while getopts "Pn:" opt + while getopts "P:n:" opt do case $opt in P) mode="parseable" - shift + vars="$vars $OPTARG" ;; n) filter_name=$OPTARG - shift ;; \?) install_usage "Invalid option: -$OPTARG" @@ -374,14 +373,6 @@ method_list() { return fi - x="$@" - if [ -z "$x" ] - then - vars="name instance version" - else - vars="$@" - fi - if [ $mode = "pretty" ] then printf "%-20s %-20s %-20s\n" "Name" "Instance" "Version" |