aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--difftool/options.c1
-rw-r--r--mkfs/options.c1
-rw-r--r--tar/sqfs2tar.c1
-rw-r--r--tar/tar2sqfs.c1
-rw-r--r--unpack/options.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/difftool/options.c b/difftool/options.c
index 0540cf7..b8ce7f0 100644
--- a/difftool/options.c
+++ b/difftool/options.c
@@ -18,6 +18,7 @@ static struct option long_opts[] = {
{ "extract", required_argument, NULL, 'e' },
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' },
+ { NULL, 0, NULL, 0 },
};
static const char *short_opts = "a:b:OPCTISe:hV";
diff --git a/mkfs/options.c b/mkfs/options.c
index c063e7c..2369787 100644
--- a/mkfs/options.c
+++ b/mkfs/options.c
@@ -30,6 +30,7 @@ static struct option long_opts[] = {
#endif
{ "version", no_argument, NULL, 'V' },
{ "help", no_argument, NULL, 'h' },
+ { NULL, 0, NULL, 0 },
};
static const char *short_opts = "F:D:X:c:b:B:d:j:Q:kxoefqThV"
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index 925ae9c..cdad066 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -25,6 +25,7 @@ static struct option long_opts[] = {
{ "no-hard-links", no_argument, NULL, 'L' },
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' },
+ { NULL, 0, NULL, 0 },
};
static const char *short_opts = "d:kr:sXLhV";
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index 5c18312..6186930 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -37,6 +37,7 @@ static struct option long_opts[] = {
{ "quiet", no_argument, NULL, 'q' },
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' },
+ { NULL, 0, NULL, 0 },
};
static const char *short_opts = "r:c:b:B:d:X:j:Q:sxekfqThV";
diff --git a/unpack/options.c b/unpack/options.c
index b9d4744..cdd19e1 100644
--- a/unpack/options.c
+++ b/unpack/options.c
@@ -28,6 +28,7 @@ static struct option long_opts[] = {
{ "quiet", no_argument, NULL, 'q' },
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'V' },
+ { NULL, 0, NULL, 0 },
};
static const char *short_opts =