Wireguard-tools misses some bash completion

Bug #1907996 reported by JörgenP
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wireguard (Ubuntu)
Fix Committed
Undecided
Unassigned

Bug Description

Typing wg and pressing tab twice should show all available subcommands, does not show syncconf or help.

I grep:ed around in bash completion files and found that /usr/share/bash-completion/completions/wg contains those for wg.
I used dpkg -S /usr/share/bash-completion/completions/wg to find that the file belongs to wireguard-tools.

man wg indicates that wg syncconf should be available and running the command confirms that.
Other completions seem to be in /usr/share/bash-completion/completions/wg but syncconf is not. There is something about help (assuming for wg help) in that file but wg help does not get completed either.

Package: wireguard-tools
Version: 1.0.20200513-1~20.04.2

Ubuntu:
Description: Ubuntu 20.04.1 LTS
Release: 20.04

JörgenP (jorgenp)
description: updated
Revision history for this message
Jason A. Donenfeld (zx2c4) wrote :

Thank you for the report. Fixed upstream now: https://git.zx2c4.com/wireguard-tools/commit/?id=7e506135f7da13cc13b51f2d0db47da364b2de7b

This will trickle down to Ubuntu whenever I make a release upstream and then Debian and Ubuntu do their thing.

Changed in wireguard (Ubuntu):
status: New → Fix Committed
Revision history for this message
JörgenP (jorgenp) wrote :

Thanks for the quick response and fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.