Revision: 14304 Author: adrian.chadd Date: Fri Sep 25 22:16:36 2009 Log: Add in the command line args
http://code.google.com/p/lusca-cache/source/detail?r=14304 Modified: /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c ======================================= --- /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c Sat Jul 25 00:18:40 2009 +++ /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c Fri Sep 25 22:16:36 2009 @@ -32,6 +32,10 @@ _db_init("ALL,1"); _db_set_stderr_debug(1); + if (argc < 3) { + printf("Usage: %s <path> <stripe count> <stripe size>\n", argv[0]); + exit(1); + } path = argv[1]; sz = atoi(argv[2]); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
