diff --git a/qemu-nbd.c b/qemu-nbd.c index ed64b6b2da..59bd2f14f3 100644 --- a/qemu-nbd.c +++ b/qemu-nbd.c @@ -190,7 +190,7 @@ int main(int argc, char **argv) char *device = NULL; char *socket = NULL; char sockpath[128]; - const char *sopt = "hVbo:p:rsnP:c:dvk:e:t"; + const char *sopt = "hVb:o:p:rsnP:c:dvk:e:t"; struct option lopt[] = { { "help", 0, 0, 'h' }, { "version", 0, 0, 'V' },