Blame SOURCES/openscap-1.2.17-updated-bash-completion.patch

bcc67f
From c3d14137500991e6eae629110cb9c71b1fadc5de Mon Sep 17 00:00:00 2001
bcc67f
From: =?UTF-8?q?Mat=C4=9Bj=20T=C3=BD=C4=8D?= <matyc@redhat.com>
bcc67f
Date: Fri, 1 Dec 2017 15:35:44 +0100
bcc67f
Subject: [PATCH] Updated bash completion.
bcc67f
bcc67f
Just included updated 'info' and 'xccdf eval'.
bcc67f
---
bcc67f
 dist/bash_completion.d/oscap | 4 ++--
bcc67f
 1 file changed, 2 insertions(+), 2 deletions(-)
bcc67f
bcc67f
diff --git a/dist/bash_completion.d/oscap b/dist/bash_completion.d/oscap
bcc67f
index 640eb26bb..ff6677327 100644
bcc67f
--- a/dist/bash_completion.d/oscap
bcc67f
+++ b/dist/bash_completion.d/oscap
bcc67f
@@ -31,7 +31,7 @@ function _oscap {
bcc67f
     opts[oscap:oval:analyse]="--variables --directives --verbose --verbose-log-file"
bcc67f
     opts[oscap:oval:collect]="--variables --verbose --verbose-log-file"
bcc67f
     opts[oscap:oval:generate:report]="-o --output"
bcc67f
-    opts[oscap:xccdf:eval]="--skip-valid --datastream-id --xccdf-id --profile --results --results-arf --report --oval-results --export-variables --fetch-remote-resources --remediate --cpe  --verbose --verbose-log-file"
bcc67f
+    opts[oscap:xccdf:eval]="--benchmark-id --check-engine-results --cpe --datastream-id --export-variables --fetch-remote-resources --oval-results --profile --progress --remediate --report --results --results-arf --rule --sce-results --skip-valid --stig-viewer --tailoring-file --tailoring-id --thin-results --verbose --verbose-log-file --without-syschar --xccdf-id"
bcc67f
     opts[oscap:xccdf:validate]="--schematron"
bcc67f
     opts[oscap:xccdf:export-oval-variables]="--datastream-id --xccdf-id --profile --skip-valid --fetch-remote-resources --cpe"
bcc67f
     opts[oscap:xccdf:remediate]="--result-id --skip-valid --fetch-remote-resources --results --results-arf --report --oval-results --export-variables --cpe"
bcc67f
@@ -48,7 +48,7 @@ function _oscap {
bcc67f
     opts[oscap:ds:rds-split]="--report-id --skip-valid"
bcc67f
     opts[oscap:cvss:score]=""
bcc67f
     opts[oscap:cvss:describe]=""
bcc67f
-    opts[oscap:info]="--fetch-remote-resources"
bcc67f
+    opts[oscap:info]="--fetch-remote-resources --profile --profiles"
bcc67f
 
bcc67f
     # local variables
bcc67f
 	local std cmd i prev