ip link: add VLAN support
[oweals/busybox.git] / selinux / matchpathcon.c
index 6de68bceb25aabe8f6e7c27a5a0513a568ef2611..9e5728eb3b8c31aa6a2ad79ed63af7b8b01b0cdb 100644 (file)
@@ -3,7 +3,18 @@
  *                  based on libselinux-1.32
  * Port to busybox: KaiGai Kohei <kaigai@kaigai.gr.jp>
  *
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
+
+//usage:#define matchpathcon_trivial_usage
+//usage:       "[-n] [-N] [-f file_contexts_file] [-p prefix] [-V]"
+//usage:#define matchpathcon_full_usage "\n\n"
+//usage:       "       -n      Don't display path"
+//usage:     "\n       -N      Don't use translations"
+//usage:     "\n       -f      Use alternate file_context file"
+//usage:     "\n       -p      Use prefix to speed translations"
+//usage:     "\n       -V      Verify file context on disk matches defaults"
+
 #include "libbb.h"
 
 static int print_matchpathcon(char *path, int noprint)
@@ -30,7 +41,7 @@ static int print_matchpathcon(char *path, int noprint)
 #define OPT_VERIFY      (1<<4)  /* -V */
 
 int matchpathcon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
-int matchpathcon_main(int argc, char **argv)
+int matchpathcon_main(int argc UNUSED_PARAM, char **argv)
 {
        int error = 0;
        unsigned opts;