• 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
..
graphviz Loading commit data...
sphinx Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
README.WRITING_RST.rst Loading commit data...
changes.rst Loading commit data...