Make allow/deny syntax consistent with that of add/delete
[paraslash.git] / send_common.c
index a2189b030b39074778798da96ce91c5e52785ed3..200e59ab266e7f9c145e6aa7a3dc65ba25d83f52 100644 (file)
@@ -389,8 +389,9 @@ char *generic_sender_help(void)
 {
        return make_message(
                "usage: {on|off}\n"
-               "usage: {allow|deny} IP mask\n"
-               "example: allow 127.0.0.1 32\n"
+               "usage: {allow|deny} IP[/netmask]\n"
+               "       where mask defaults to 32\n"
+               "example: allow 192.168.0.1/24\n"
        );
 }
 
@@ -443,6 +444,7 @@ out:
 /**
  * Parse a FEC URL string.
  *
+ * \param arg the URL string to parse.
  * \param scd The structure containing host, port and the FEC parameters.
  *
  * \return Standard.