diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-14 01:53:23 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-07-14 01:53:23 +0200 |
commit | 1985c76e48753c200b5a15630b00245c3f60775b (patch) | |
tree | 7b7b6e186a9889930dbe92e1f80ca3cdac6c5a76 /udev/udevadm-test.c | |
parent | b3ca87a04a6bc32d852774211b35313ec8a09da1 (diff) |
udevadm: move udevadm command descriptions into their files
Diffstat (limited to 'udev/udevadm-test.c')
-rw-r--r-- | udev/udevadm-test.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c index bb7a0fd8a1..c2c377c3d7 100644 --- a/udev/udevadm-test.c +++ b/udev/udevadm-test.c @@ -31,7 +31,7 @@ #include "udev.h" -int udevadm_test(struct udev *udev, int argc, char *argv[]) +static int adm_test(struct udev *udev, int argc, char *argv[]) { int resolve_names = 1; char filename[UTIL_PATH_SIZE]; @@ -161,3 +161,10 @@ out: udev_rules_unref(rules); return rc; } + +const struct udevadm_cmd udevadm_test = { + .name = "test", + .cmd = adm_test, + .help = "simulation run", + .debug = true, +}; |