#--
#                 - Mellanox Confidential and Proprietary -
#
# Copyright (C) Jun 2021, Mellanox Technologies Ltd.  ALL RIGHTS RESERVED.
#
# Except as specifically permitted herein, no portion of the information,
# including but not limited to object code and source code, may be reproduced,
# modified, distributed, republished or otherwise exploited in any form or by
# any means for any purpose without the prior written permission of Mellanox
# Technologies Ltd. Use of software subject to the terms and conditions
# detailed in the file "LICENSE.txt".
#--

. /etc/bash_completion.d/mft/mft_base_autocomplete

function _mlxlink {

source <(cat << EOF
$( $PYTHON_EXEC /etc/bash_completion.d/mft/mft_help_to_completion.py -n mlxlink -c "$COMP_LINE" )
EOF
)

    _runAutoComplete

}

complete -F _mlxlink mlxlink
