Author: adrian.chadd
Date: Sun Jul 19 05:22:59 2009
New Revision: 14209

Modified:
    playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c

Log:
add in some basic help



Modified: playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c
==============================================================================
--- playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c        
(original)
+++ playpen/LUSCA_HEAD_storework/app/coss_rebuild/coss_rebuild.c        Sun Jul 
19  
05:22:59 2009
@@ -20,6 +20,13 @@
        size_t stripe_size;
        int num_stripes;

+       if (argc < 5) {
+               printf("Usage: %s <command> <path> <block size> <stripe size> 
<number of  
stripes>\n", argv[0]);
+               printf("  where the block and stripe sizes are in bytes\n");
+               printf("  and <command> is, for now, 'rebuild'\n");
+               exit(127);
+       }
+
        /* Setup the debugging library */
        _db_init("ALL,1");
        _db_set_stderr_debug(1);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to