From: Frantisek Sumsal Date: Tue, 28 Sep 2021 18:08:05 +0000 (+0200) Subject: udev: sort the options alphabetically X-Git-Tag: v250-rc1~591^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bbc1bb07429664103d072a60a0568a035382eac9;p=thirdparty%2Fsystemd.git udev: sort the options alphabetically --- diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c index 1ea89c16cc5..85f826690ca 100644 --- a/src/udev/udevadm-info.c +++ b/src/udev/udevadm-info.c @@ -366,19 +366,19 @@ int info_main(int argc, char *argv[], void *userdata) { int c, r; static const struct option options[] = { - { "name", required_argument, NULL, 'n' }, - { "path", required_argument, NULL, 'p' }, - { "query", required_argument, NULL, 'q' }, { "attribute-walk", no_argument, NULL, 'a' }, { "cleanup-db", no_argument, NULL, 'c' }, - { "export-db", no_argument, NULL, 'e' }, - { "root", no_argument, NULL, 'r' }, { "device-id-of-file", required_argument, NULL, 'd' }, { "export", no_argument, NULL, 'x' }, + { "export-db", no_argument, NULL, 'e' }, { "export-prefix", required_argument, NULL, 'P' }, - { "wait-for-initialization", optional_argument, NULL, 'w' }, - { "version", no_argument, NULL, 'V' }, { "help", no_argument, NULL, 'h' }, + { "name", required_argument, NULL, 'n' }, + { "path", required_argument, NULL, 'p' }, + { "query", required_argument, NULL, 'q' }, + { "root", no_argument, NULL, 'r' }, + { "version", no_argument, NULL, 'V' }, + { "wait-for-initialization", optional_argument, NULL, 'w' }, {} };