[systemd-commits] src/udev
Kay Sievers
kay at kemper.freedesktop.org
Tue Jul 17 07:40:43 PDT 2012
src/udev/keymap/keymap.c | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit fdc0d8468a2322ff5f5696d1e79c41ed8daa3ef3
Author: Kay Sievers <kay at vrfy.org>
Date: Tue Jul 17 16:39:14 2012 +0200
Revert "keymap: add --version option"
This reverts commit d8f173fd2ee9ee60affa1a4d1a89f2501977fb0b.
diff --git a/src/udev/keymap/keymap.c b/src/udev/keymap/keymap.c
index 5cbce86..051aa42 100644
--- a/src/udev/keymap/keymap.c
+++ b/src/udev/keymap/keymap.c
@@ -362,13 +362,8 @@ static void help(int error)
int main(int argc, char **argv)
{
- enum {
- ARG_VERSION = 0x100,
- };
-
static const struct option options[] = {
{ "help", no_argument, NULL, 'h' },
- { "version", no_argument, NULL, ARG_VERSION },
{ "interactive", no_argument, NULL, 'i' },
{}
};
@@ -387,10 +382,6 @@ int main(int argc, char **argv)
case 'h':
help(0);
- case ARG_VERSION:
- puts(PACKAGE_STRING);
- exit(0);
-
case 'i':
opt_interactive = 1;
break;
More information about the systemd-commits
mailing list