]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Sort the list of long options.
authorTim Kientzle <kientzle@gmail.com>
Sun, 25 Apr 2010 06:04:56 +0000 (02:04 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 25 Apr 2010 06:04:56 +0000 (02:04 -0400)
SVN-Revision: 2271

tar/cmdline.c

index 82772abc9e1d72bed7d7780ba5ad0601d669a135..f53a7638530058dcf460ad055b4a0fa246f14d22 100644 (file)
@@ -85,13 +85,12 @@ static struct option {
        { "file",                 1, 'f' },
        { "files-from",           1, 'T' },
        { "format",               1, OPTION_FORMAT },
-       { "options",              1, OPTION_OPTIONS },
        { "gunzip",               0, 'z' },
        { "gzip",                 0, 'z' },
        { "help",                 0, OPTION_HELP },
        { "include",              1, OPTION_INCLUDE },
-       { "interactive",          0, 'w' },
        { "insecure",             0, 'P' },
+       { "interactive",          0, 'w' },
        { "keep-newer-files",     0, OPTION_KEEP_NEWER_FILES },
        { "keep-old-files",       0, 'k' },
        { "list",                 0, 't' },
@@ -103,14 +102,15 @@ static struct option {
        { "newer-mtime",          1, OPTION_NEWER_MTIME },
        { "newer-mtime-than",     1, OPTION_NEWER_MTIME_THAN },
        { "newer-than",           1, OPTION_NEWER_CTIME_THAN },
-       { "nodump",               0, OPTION_NODUMP },
-       { "norecurse",            0, 'n' },
        { "no-recursion",         0, 'n' },
        { "no-same-owner",        0, OPTION_NO_SAME_OWNER },
        { "no-same-permissions",  0, OPTION_NO_SAME_PERMISSIONS },
+       { "nodump",               0, OPTION_NODUMP },
+       { "norecurse",            0, 'n' },
        { "null",                 0, OPTION_NULL },
        { "numeric-owner",        0, OPTION_NUMERIC_OWNER },
        { "one-file-system",      0, OPTION_ONE_FILE_SYSTEM },
+       { "options",              1, OPTION_OPTIONS },
        { "posix",                0, OPTION_POSIX },
        { "preserve-permissions", 0, 'p' },
        { "read-full-blocks",     0, 'B' },