| 50 | } fpt; |
| 51 | |
| 52 | static void usage(const char *name) |
| 53 | { |
| 54 | printf("%s: Utility for CSE FPT\n\n" |
| 55 | "USAGE:\n" |
| 56 | " %s FILE COMMAND\n\n" |
| 57 | "COMMANDs:\n" |
| 58 | " print\n" |
| 59 | " dump [-o OUTPUT_DIR] [-n NAME]\n" |
| 60 | "\nOPTIONS:\n" |
| 61 | " -o OUTPUT_DIR : Directory to dump the partition files in\n" |
| 62 | " -n NAME : Name of partition to dump\n" |
| 63 | "\n", |
| 64 | name, name); |
| 65 | } |
| 66 | |
| 67 | static int get_fpt_buff(struct buffer *input_buff, struct buffer *fpt_buff) |
| 68 | { |