%s'%usage[0] - usage[1:] = [i.replace(cmd, '%s'%cmd) for i in usage[1:]] - usage = ''.join(usage).replace('\n', '

%s
\n'%'libprs500 has a very comprehensive command line interface to perform most operations that can be performed by the GUI.' - body += 'You can see usage for undocumented commands by executing them without arguments in a terminal
' + documented = [i[0] for i in documented_cmds] + template = loader.load('cli-index.html') - template = open('templates/basic.html', 'rb').read().decode('utf-8') - template = re.sub('${cmdline}
+
+
${title} | |
|---|---|
| ${desc} | |
|
+ ${option.get_opt_string()} ${short} + |
+ ${help} | +

+ ${app} has a very comprehensive command line + interface to perform most operations that can be performed by the GUI. +
+You can see usage for undocumented commands by executing them without arguments in a terminal
+ + + + \ No newline at end of file diff --git a/src/libprs500/manual/faq.html b/src/libprs500/manual/templates/faq.html similarity index 52% rename from src/libprs500/manual/faq.html rename to src/libprs500/manual/templates/faq.html index 04d4b07597..d5788f221f 100644 --- a/src/libprs500/manual/faq.html +++ b/src/libprs500/manual/templates/faq.html @@ -1,14 +1,18 @@ - - - - + + + +