diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-05-28 21:42:47 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-20 18:01:21 +0100 |
commit | 2f0e9911814db669f97dd825eb5262480d1f27ea (patch) | |
tree | 648d5d4222dc33ce9399c952f77b8553dfe0ea43 /man | |
parent | 833342e766888dbe11f4dc568f9d50192179df5f (diff) | |
download | sos-2f0e9911814db669f97dd825eb5262480d1f27ea.tar.gz |
[sos] move options-to-args formatting into SoSOptions.to_args()
Move the formatting of SoSOptions into sosreport command line
arguments from SoSReport.list_presets() into SoSOptions.to_args().
This allows the function to be simplified since it has access to
the raw arguments rather than their string representation.
The method returns a list of string '--argument value' pairs, and
suppresses null, default and True argument values.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions