]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Display the version and the usage in the proper order :)
authorPeter Pentchev <roam@ringlet.net>
Fri, 18 Jun 2010 14:58:13 +0000 (14:58 +0000)
committerPeter Pentchev <roam@ringlet.net>
Fri, 18 Jun 2010 14:58:13 +0000 (14:58 +0000)
migrate/dma-migrate.c

index 3f21b8bc3a6eeffa53e9adfedf14341992f4c8b9..ca886181c2f4a97b3c706f968defdb595616b672 100644 (file)
@@ -101,10 +101,10 @@ main(int argc, char **argv)
                        case '?':
                                usage(1);
                }
-       if (hflag)
-               usage(0);
        if (Vflag)
                version();
+       if (hflag)
+               usage(0);
        if (hflag || Vflag)
                exit(0);