]> git.ozlabs.org Git - petitboot/blobdiff - utils/pb-event.c
discover: Support IPv6 addresses
[petitboot] / utils / pb-event.c
index 4a167192c7a99c34a172b7a9240e8b1dfbd9d37e..10bf4f59ab3857b8ab6af8ef50ff012871c5a76e 100644 (file)
@@ -20,7 +20,6 @@
 #include "config.h"
 #endif
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <err.h>
 #include <errno.h>
@@ -56,7 +55,7 @@ static void print_usage(void)
 "       Events can be read from stdin, or provided on the command line.\n"
 "       User events must have the following format:\n"
 "\n"
-"         (add|remove)@device-id [name=value] [image=value] [args=value]\n"
+"         (add|remove|boot|sync)@device-id [name=value] [image=value] [args=value]\n"
 "\n"
 "       When read from stdin, components are separated by NUL chars\n"
 "\n"