On Thu, 2 Mar 2023 at 01:12, Rasmus Villemoes <rasmus.villem...@prevas.dk> wrote: > > The read and write commands are, deliberately, implemented in the same > file, so that they stay feature-compatible (e.g. if someone implements > support for "read the full partition, however large that is", that > same syntax should also work for write). In order to ensure the > documentation for both are similarly kept in sync, and to avoid > duplication, document them both in read.rst, and add a stub write.rst > referring to read.rst. > > Signed-off-by: Rasmus Villemoes <rasmus.villem...@prevas.dk> > --- > doc/usage/cmd/read.rst | 44 +++++++++++++++++++++++++++++++++++++++++ > doc/usage/cmd/write.rst | 6 ++++++ > doc/usage/index.rst | 2 ++ > 3 files changed, 52 insertions(+) > create mode 100644 doc/usage/cmd/read.rst > create mode 100644 doc/usage/cmd/write.rst >
Reviewed-by: Simon Glass <s...@chromium.org>