Commit 060a0973 authored by Federico Vaga's avatar Federico Vaga

tool: improve help message

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent ab93260c
......@@ -431,9 +431,12 @@ static void bitstream_buffer_free(struct bitstream *bitstream)
static void help(const char *name)
{
printf("usage: %s slot bitstream.bin [-b]\n", name);
printf(" -b: updates the bootloader itself\n");
printf(" -f: loads the bitstream straight to the Application FPGA (without programming the flash)\n");
printf("usage: %s [options] <vme-slot-number> <path-to-bitstream>.bin\n\n",
name);
printf("Programs the on-board flash memory with the given bitstream. By default, the bitstream will be placed in the 'Application' partition.\n\n");
printf("Options:\n");
printf(" -b: program the 'system' partition\n");
printf(" -f: do not write on flash, instead program the Application FPGA directly\n");
}
int main(int argc, char *argv[])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment