From: Tim Kientzle Date: Sun, 25 Apr 2010 06:04:56 +0000 (-0400) Subject: Sort the list of long options. X-Git-Tag: v3.0.0a~1092 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2590a9bdeb509028964f745ecd40a4972bf47a32;p=thirdparty%2Flibarchive.git Sort the list of long options. SVN-Revision: 2271 --- diff --git a/tar/cmdline.c b/tar/cmdline.c index 82772abc9..f53a76385 100644 --- a/tar/cmdline.c +++ b/tar/cmdline.c @@ -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' },