aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-05-28 21:42:47 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-06-20 18:01:21 +0100
commit2f0e9911814db669f97dd825eb5262480d1f27ea (patch)
tree648d5d4222dc33ce9399c952f77b8553dfe0ea43 /man
parent833342e766888dbe11f4dc568f9d50192179df5f (diff)
downloadsos-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