summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2021-09-28 20:08:05 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2021-09-29 12:52:57 +0200
commitbbc1bb07429664103d072a60a0568a035382eac9 (patch)
tree1064ec56ee1fe16dd5fa43b6db398ebe91049c80
parent41a978fdb16fa39411dbc3411d267797af1e453a (diff)
downloadsystemd-bbc1bb07429664103d072a60a0568a035382eac9.tar.gz
udev: sort the options alphabetically
-rw-r--r--src/udev/udevadm-info.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c
index 1ea89c16cc..85f826690c 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' },
{}
};