diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-21 14:43:22 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-21 14:43:22 +0100 |
commit | 4b0faa2aa0e7ca87fc0fdb637c69e978a7241e1c (patch) | |
tree | e57eaa9179c984e0160abcc6242fb7cde8f38cb0 /udev/udevd.c | |
parent | 2c7b88c4a55426087955a12aad33c1935e639876 (diff) | |
parent | 9032f119f07ad3b5116b3d4858816d851d4127de (diff) |
Merge commit '9032f119f07ad3b5116b3d4858816d851d4127de'
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 13a10240d7..7d82d2132e 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -688,16 +688,18 @@ int main(int argc, char *argv[]) case 'N': if (strcmp (optarg, "early") == 0) { resolve_names = 1; + } else if (strcmp (optarg, "late") == 0) { + resolve_names = 0; } else if (strcmp (optarg, "never") == 0) { resolve_names = -1; } else { - fprintf(stderr, "resolve-names must be early or never\n"); - err(udev, "resolve-names must be early or never\n"); + fprintf(stderr, "resolve-names must be early, late or never\n"); + err(udev, "resolve-names must be early, late or never\n"); goto exit; } break; case 'h': - printf("Usage: udevd [--help] [--daemon] [--debug-trace] [--debug] [--resolve-names=early|never] [--version]\n"); + printf("Usage: udevd [--help] [--daemon] [--debug-trace] [--debug] [--resolve-names=early|late|never] [--version]\n"); goto exit; case 'V': printf("%s\n", VERSION); |