305 {
306 printf (
"\nCommand line syntax: [OPTION...] [ACTION...]\n"
307 "Options must precede actions.\n"
308 "Actions are executed in the order specified.\n"
309 "\nAvailable actions:\n"
311 " run 'PROG [ARG...]' Run PROG and wait for it to complete.\n"
312#else
313 " run TEST Run TEST.\n"
314#endif
315#ifdef FILESYS
316 " ls List files in the root directory.\n"
317 " cat FILE Print FILE to the console.\n"
318 " rm FILE Delete FILE.\n"
319 "Use these actions indirectly via `pintos' -g and -p options:\n"
320 " put FILE Put FILE into file system from scratch disk.\n"
321 " get FILE Get FILE from file system into scratch disk.\n"
322#endif
323 "\nOptions:\n"
324 " -h Print this help message and power off.\n"
325 " -q Power off VM after actions or on panic.\n"
326 " -f Format file system disk during startup.\n"
327 " -rs=SEED Set random number seed to SEED.\n"
328 " -mlfqs Use multi-level feedback queue scheduler.\n"
330 " -ul=COUNT Limit user memory to COUNT pages.\n"
331#endif
332 );
334}
#define USERPROG
Definition: thread.h:12