diff options
Diffstat (limited to 'sbin/dset/dset.c')
-rw-r--r-- | sbin/dset/dset.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sbin/dset/dset.c b/sbin/dset/dset.c index 3c70d1d..3961d55 100644 --- a/sbin/dset/dset.c +++ b/sbin/dset/dset.c @@ -83,7 +83,7 @@ error(name, str) void usage(char *title) { - fprintf(stderr, "usage: %s [-qtv] [-k kernel]\n", title); + fprintf(stderr, "usage: %s [-qtv]\n", title); } main(ac, av) @@ -109,7 +109,7 @@ main(ac, av) int testonly = FALSE; int verbose = FALSE; - while ((ch = getopt(ac, av, "qtvk:")) != EOF) + while ((ch = getopt(ac, av, "qtv")) != EOF) switch (ch) { case 'q': quiet = TRUE; @@ -118,10 +118,6 @@ main(ac, av) testonly = TRUE; /* In test mode we want to be verbose */ - case 'k': - kernel = optarg; - break; - case 'v': verbose = TRUE; break; @@ -133,8 +129,7 @@ main(ac, av) } - if (!kernel) - kernel = getbootfile(); + kernel = getbootfile(); if (verbose) printf("Boot image: %s\n", kernel); |