Skip to content
This repository
tag: v1717
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

executable file 38 lines (30 sloc) 0.65 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#!/usr/bin/env bash

P=$MLSTATELIBS/lib/opa/static
OPA=$P/opabslgen.bypass
OPT=''

print_help () {
cat <<EOF
bslbrowser: wraper for bslbrowsertop, the MLstate bypass plugin browser.
Usage: bslbrowser [options]

Options of the wraper:
-h |--help : print this help message
o | opa : shorthand to load opabsl plugins

Usage of bslbrowsertop:

EOF
}

while [ $# -gt 0 ]; do
case $1 in
        -h|--help)
            print_help
            OPT="$OPT --help"
            ;;
        o|opa)
            OPT="$OPT $OPA"
            ;;
        *)
            OPT="$OPT $1"
            ;;
    esac
shift
done

rlwrap bslbrowsertop $OPT
Something went wrong with that request. Please try again.