• Dridi Boukelmoune's avatar
    Expose the varnishd optstring via -x · e0970652
    Dridi Boukelmoune authored
    This helps write scripts like this:
    
        optstring=$(varnishd -x optstring)
    
        while getopts $optstring opt
        do
            case $opt in
            n)
                # handle $OPTARG
                ;;
            # handle other options
            *)
                # ignore unneeded options
                ;;
            esac
        done
    
        varnishd "$@"
    
    Otherwise if optstring is not kept in sync, getopts will stop processing
    options if it encounters one that is not specified.
    e0970652
Name
Last commit
Last update
..
dev-guide Loading commit data...
glossary Loading commit data...
installation Loading commit data...
phk Loading commit data...
reference Loading commit data...
tutorial Loading commit data...
users-guide Loading commit data...
whats-new Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
conf.py.in Loading commit data...
index.rst Loading commit data...
vtc-syntax.py Loading commit data...