#!/bin/bash # m4_ignore( echo "This is just a script template for argbash, not the script." >&2 exit 11 #)Created by argbash-init v2.10.0 # Rearrange the order of options below according to what you would like to see in the help message. # ARG_OPTIONAL_BOOLEAN([version],[v],[outputs the client version],[off]) # ARG_OPTIONAL_BOOLEAN([link],[l],[links to your script at ~/.local/bin/dynb],[off]) # ARG_OPTIONAL_BOOLEAN([reset],[r],[deletes the client blocking status file],[off]) # ARG_OPTIONAL_BOOLEAN([debug],[],[enables debug mode],[off]) # ARG_OPTIONAL_SINGLE([update-method],[m],[choose if you want to use DynDNS2 or the DomRobot RPC-API],[]) # ARG_OPTIONAL_SINGLE([ip-mode],[i],[updates type A (IPv4) and AAAA (IPv6) records],[]) # ARG_OPTIONAL_SINGLE([domain],[d],[set the domain you want to update],[]) # ARG_OPTIONAL_SINGLE([service-provider],[s],[set your provider in case you are using DynDNS2],[]) # ARG_OPTIONAL_SINGLE([username],[u],[depends on your selected update method and your provider],[]) # ARG_OPTIONAL_SINGLE([password],[p],[depends on your selected update method and your provider],[]) # ARG_OPTIONAL_SINGLE([token],[t],[depends on your selected update method and your provider],[]) # ARG_OPTIONAL_SINGLE([interval],[],[choose the seconds interval to run the script in a loop, minimum is 60],[]) # ARG_HELP([DynB - dynamic DNS update script for bash]) # ARGBASH_GO # [ <-- needed because of Argbash # ] <-- needed because of Argbash