• xtrn/wttr.in/wttr-lib.js wttr.js

    From echicken@VERT to Git commit to main/sbbs/master on Fri Feb 24 08:26:56 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6eef99ba64481e845f9a211d
    Modified Files:
    xtrn/wttr.in/wttr-lib.js wttr.js
    Log Message:
    Allow command line arguments to override modopts values.

    Parameter names are -- prefixed, with a space between name and
    value. Quotes etc. around values are not handled; use escapes.
    We can get fancier with this later if it's necessary.

    Example:

    ?wttr.js --fallback_location Toronto --cache_ttl 0

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net