diff --git a/src/servers/model/config.ts b/src/servers/model/config.ts index b08c25db30a88430f2839c383725b1e00f66dadd..f6d7abef9a46a778f61467680a2dc26d74d6886f 100644 --- a/src/servers/model/config.ts +++ b/src/servers/model/config.ts @@ -163,7 +163,8 @@ function addServerArgs(parser: argparse.ArgumentParser) { 'Example: pdb-bcif \'../../data/bcif/${id}.bcif\' ', 'JS expressions can be used inside ${}, e.g. \'${id.substr(1, 2)}/${id}.mdb\'', 'Can be specified multiple times.', - 'The `SOURCE` variable (e.g. `pdb-bcif`) is arbitrary and depends on how you plan to use the server.' + 'The `SOURCE` variable (e.g. `pdb-bcif`) is arbitrary and depends on how you plan to use the server.', + `Supported formats: ${ModelServerFetchFormats.join(', ')}` ].join('\n'), }); parser.addArgument([ '--sourceMapUrl' ], { @@ -171,9 +172,9 @@ function addServerArgs(parser: argparse.ArgumentParser) { action: 'append', metavar: ['SOURCE', 'PATH', 'SOURCE_MAP_FORMAT'] as any, help: [ - 'Same as --sourceMap but for URL. --sourceMap src url format', - 'Example: pdb-cif "https://www.ebi.ac.uk/pdbe/entry-files/download/${id}_updated.cif" cif', - 'Format is either cif or bcif' + 'Same as --sourceMap but for URL. \'--sourceMapUrl src url format\'', + 'Example: \'pdb-cif "https://www.ebi.ac.uk/pdbe/entry-files/download/${id}_updated.cif" cif\'', + `Supported formats: ${ModelServerFetchFormats.join(', ')}` ].join('\n'), }); }