From 089af268a76fb60931e41176fdb18b50a6c822f1 Mon Sep 17 00:00:00 2001 From: Uggla Date: Wed, 22 Mar 2017 21:49:29 +0100 Subject: [PATCH] Add draft completion script - This is a sample file for completion Change-Id: I3a61f4987107c6138767339aefef60ef30e0fd72 --- .../etc/bash_completion.d/redfish-client.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 redfish-client/etc/bash_completion.d/redfish-client.bash diff --git a/redfish-client/etc/bash_completion.d/redfish-client.bash b/redfish-client/etc/bash_completion.d/redfish-client.bash new file mode 100644 index 0000000..d1f739e --- /dev/null +++ b/redfish-client/etc/bash_completion.d/redfish-client.bash @@ -0,0 +1,11 @@ +_redfish-client_complete_baseopts() +{ + case $2 in + + --help|-h) + return 0 + ;; + + esac + return 1 +}