diff options
Diffstat (limited to 'src/squark-auth-ip.c')
-rw-r--r-- | src/squark-auth-ip.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/squark-auth-ip.c b/src/squark-auth-ip.c index 22e8fc0..baf0b4b 100644 --- a/src/squark-auth-ip.c +++ b/src/squark-auth-ip.c @@ -126,7 +126,7 @@ int main(int argc, char **argv) reporting_init("squark-auth-ip"); - while ((opt = getopt(argc, argv, "Vc:i:u:olpLrsqv::")) != -1) { + while ((opt = getopt(argc, argv, "Vc:d:i:u:olpLrsqv::")) != -1) { switch (opt) { case 'V': fprintf(stderr, "squark-auth-ip %s\n", squark_version); @@ -134,6 +134,9 @@ int main(int argc, char **argv) case 'c': squark_config = optarg; break; + case 'd': + squark_dbname = optarg; + break; case 'i': ip = BLOB_STRLEN(optarg); if (!addr_parse(ip, &ipaddr)) { |