diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-06 06:56:19 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-22 17:13:20 +0300 |
commit | a8f3a68ec91bd84ea481ea7ac2fba02b3846d6ab (patch) | |
tree | e1bb3c16106efd0b8df727df67b0aa7e1bc17f30 /src/cam/options.h | |
parent | 7c205c79d9284599601fa91c87282f416e53f8dc (diff) |
cam: options: Slit OptionsParser::usage() in two functions
To prepare for code reuse, split the printing of options out of
OptionsParser::usage() to a separate function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/options.h')
-rw-r--r-- | src/cam/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cam/options.h b/src/cam/options.h index 0b8bb172..01a5d36a 100644 --- a/src/cam/options.h +++ b/src/cam/options.h @@ -95,6 +95,8 @@ public: void usage(); private: + void usageOptions(const std::list<Option> &options, unsigned int indent); + std::list<Option> options_; std::map<unsigned int, Option *> optionsMap_; }; |