command-line: Add function to print all options.
[cascardo/ovs.git] / lib / command-line.h
index 2592b79..157cb58 100644 (file)
@@ -31,10 +31,11 @@ struct command {
 };
 
 char *long_options_to_short_options(const struct option *options);
+void print_options(const struct option *options);
 void run_command(int argc, char *argv[], const struct command[]);
 
 void proctitle_init(int argc, char **argv);
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #define proctitle_set setproctitle
 #else
 void proctitle_set(const char *, ...)