diff --git a/examples/mount-local.c b/examples/mount-local.c index 9b80d3a23..18970d0f4 100644 --- a/examples/mount-local.c +++ b/examples/mount-local.c @@ -53,6 +53,11 @@ main (int argc, char *argv[]) exit (EXIT_FAILURE); } + if (argv[1][0] == '-') { + usage (); + exit (EXIT_FAILURE); + } + printf ("\n" "This is the 'mount-local' demonstration program. Follow the\n" "instructions on screen.\n"