projtool.pl: support new readme formats
commit27354d40a0314b9791d42dd128984ef63a01bfa8
authorKyle J. McKay <mackyle@gmail.com>
Mon, 1 Mar 2021 20:04:42 +0000 (1 13:04 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 1 Mar 2021 20:04:42 +0000 (1 13:04 -0700)
tree308c48bebccf31b3f26f0d709b785199be51edb6
parent27b3e364e6267bb7a0e5744729b31c292f9f3030
projtool.pl: support new readme formats

Make the behind-the-scenes adoption process grok the new
readme formats and process the readme if necessary during
the adoption process.

Add a new optional `--format=<readmetype>` option to the
`setreadme` command to select the desired type and make it
possible to change the type without changing the readme
data itself (reinterprets the old data as the new type).

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/projtool.pl