diff mbox series

doc: add doc and help for -o parameter

Message ID 1525260988-20208-1-git-send-email-sbabic@denx.de
State Accepted
Headers show
Series doc: add doc and help for -o parameter | expand

Commit Message

Stefano Babic May 2, 2018, 11:36 a.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
Reported-by: Christian Storm <christian.storm@siemens.com>
---
 core/swupdate.c         | 1 +
 doc/source/swupdate.rst | 2 ++
 2 files changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/core/swupdate.c b/core/swupdate.c
index e08659e..adc0df1 100644
--- a/core/swupdate.c
+++ b/core/swupdate.c
@@ -129,6 +129,7 @@  static void usage(char *programname)
 		" -K, --key-aes <key file>       : the file contains the symmetric key to be used\n"
 		"                                  to decrypt images\n"
 #endif
+		" -o, --output <output file>     : saves the incoming stream\n"
 		" -v, --verbose                  : be verbose, set maximum loglevel\n"
 #ifdef CONFIG_HW_COMPATIBILITY
 		" -H, --hwrevision <board>:<rev> : Set hardware revision\n"
diff --git a/doc/source/swupdate.rst b/doc/source/swupdate.rst
index fa3e75f..6481a20 100644
--- a/doc/source/swupdate.rst
+++ b/doc/source/swupdate.rst
@@ -498,6 +498,8 @@  Command line parameters
 +-------------+----------+--------------------------------------------+
 | -i <file>   | string   | run SWUpdate with a local .swu file        |
 +-------------+----------+--------------------------------------------+
+| -o <file>   | string   | saves the stream (SWU) on a file           |
++-------------+----------+--------------------------------------------+
 | -v          |    -     | activate verbose output                    |
 +-------------+----------+--------------------------------------------+
 | -w <parms>  | string   | start internal webserver and pass to it    |