unbound-control.c (0fb349906ef68608577702ca46e86aafdd7456b2) unbound-control.c (b70d78d6e87a2894b3629f39129cb07e7c0aa7bf)
1/*
2 * checkconf/unbound-control.c - remote control utility for unbound.
3 *
4 * Copyright (c) 2008, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 63 unchanged lines hidden (view full) ---

72#ifdef HAVE_SYS_UN_H
73#include <sys/un.h>
74#endif
75
76/** Give unbound-control usage, and exit (1). */
77static void
78usage(void)
79{
1/*
2 * checkconf/unbound-control.c - remote control utility for unbound.
3 *
4 * Copyright (c) 2008, NLnet Labs. All rights reserved.
5 *
6 * This software is open source.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 63 unchanged lines hidden (view full) ---

72#ifdef HAVE_SYS_UN_H
73#include <sys/un.h>
74#endif
75
76/** Give unbound-control usage, and exit (1). */
77static void
78usage(void)
79{
80 printf("Usage: unbound-control [options] command\n");
80 printf("Usage: local-unbound-control [options] command\n");
81 printf(" Remote control utility for unbound server.\n");
82 printf("Options:\n");
83 printf(" -c file config file, default is %s\n", CONFIGFILE);
84 printf(" -s ip[@port] server address, if omitted config is used.\n");
85 printf(" -q quiet (don't print anything if it works ok).\n");
86 printf(" -h show this usage help.\n");
87 printf("Commands:\n");
88 printf(" start start server; runs unbound(8)\n");

--- 742 unchanged lines hidden ---
81 printf(" Remote control utility for unbound server.\n");
82 printf("Options:\n");
83 printf(" -c file config file, default is %s\n", CONFIGFILE);
84 printf(" -s ip[@port] server address, if omitted config is used.\n");
85 printf(" -q quiet (don't print anything if it works ok).\n");
86 printf(" -h show this usage help.\n");
87 printf("Commands:\n");
88 printf(" start start server; runs unbound(8)\n");

--- 742 unchanged lines hidden ---