Tools/DiskTool - Added 'lvm' command (alias for 'mountlvm')
authorJohn Hodge <[email protected]>
Wed, 15 Aug 2012 04:55:42 +0000 (12:55 +0800)
committerJohn Hodge <[email protected]>
Wed, 15 Aug 2012 04:55:42 +0000 (12:55 +0800)
Tools/DiskTool/src/main.c

index 0758fc2..687bb3b 100644 (file)
@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
                        continue ;
                }
                
-               if( strcmp("mountlvm", argv[i]) == 0 ) {
+               if( strcmp("mountlvm", argv[i]) == 0 || strcmp("lvm", argv[i]) == 0 ) {
                        
                        if( argc - i < 3 ) {
                                fprintf(stderr, "mountlvm takes 2 arguments (iamge and ident)\n");

UCC git Repository :: git.ucc.asn.au