summaryrefslogtreecommitdiff
path: root/udev/udevadm.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm.c')
-rw-r--r--udev/udevadm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udevadm.c b/udev/udevadm.c
index b18114273c..3f2c78212e 100644
--- a/udev/udevadm.c
+++ b/udev/udevadm.c
@@ -124,9 +124,9 @@ int main(int argc, char *argv[])
{
struct udev *udev;
static const struct option options[] = {
- { "debug", 0, NULL, 'd' },
- { "help", 0, NULL, 'h' },
- { "version", 0, NULL, 'V' },
+ { "debug", no_argument, NULL, 'd' },
+ { "help", no_argument, NULL, 'h' },
+ { "version", no_argument, NULL, 'V' },
{}
};
const char *command;