* Fix a typo in the dpkg changelog.
[deb_shairplay.git] / src / shairplay.c
index d30d92ebb2fbb712ed9c2aee288ac987b37858ff..4b873f127a4bf411cec0dbc03ff0c052faad5ccc 100644 (file)
@@ -95,7 +95,6 @@ static int
 parse_hwaddr(const char *str, char *hwaddr, int hwaddrlen)
 {
        int slen, i;
-       char *ptr, *endptr;
 
        slen = 3*hwaddrlen-1;
        if (strlen(str) != slen) {
@@ -293,6 +292,7 @@ parse_options(shairplay_options_t *opt, int argc, char *argv[])
                        fprintf(stderr, "  -a, --apname=AirPort            Sets Airport name\n");
                        fprintf(stderr, "  -p, --password=secret           Sets password\n");
                        fprintf(stderr, "  -o, --server_port=5000          Sets port for RAOP service\n");
+                       fprintf(stderr, "      --hwaddr=address            Sets the MAC address, useful if running multiple instances\n");
                        fprintf(stderr, "      --ao_driver=driver          Sets the ao driver (optional)\n");
                        fprintf(stderr, "      --ao_devicename=devicename  Sets the ao device name (optional)\n");
                        fprintf(stderr, "      --ao_deviceid=id            Sets the ao device id (optional)\n");
@@ -349,6 +349,7 @@ main(int argc, char *argv[])
        raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
        if (raop == NULL) {
                fprintf(stderr, "Could not initialize the RAOP service\n");
+               fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n");
                return -1;
        }