# A pattern with no positional arguments, but requiring the -h flag
pat(options="h!")
# A pattern that takes a command and variable number of arguments, and
# accepts the -n and -t options (note the latter are specified in cluster
# form, but "n,t" is also valid)
pat("command", "arg...?", options="nt")
Run the code above in your browser using DataLab