isosize: make --divisor to require argument

Silly bug, only the short option -d allowed divisor argument.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2014-02-16 23:54:22 +00:00 committed by Karel Zak
parent e55db6a862
commit be091dee66
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ int main(int argc, char **argv)
long divisor = 0;
static const struct option longopts[] = {
{"divisor", no_argument, 0, 'd'},
{"divisor", required_argument, 0, 'd'},
{"sectors", no_argument, 0, 'x'},
{"version", no_argument, 0, 'V'},
{"help", no_argument, 0, 'h'},