Bash completion for "ufw" command fails for some options

Bug #1225666 reported by Anatoly Trosinenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

HOW TO REPRODUCE:

1) Open a terminal window.
2) Type in "sudo ufw --d" and press TAB.

EXPECTED RESULTS:

Possible options like "--dry-run" or at least nothing at all will be shown.

REAL RESULTS:

Errors are shown in the terminal:

test@comp:~$ sudo ufw --dbash: compgen: --: invalid option
compgen: usage: compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-
W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [
word]

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ufw 0.33-0ubuntu4
ProcVersionSignature: Ubuntu 3.11.0-7.13-generic 3.11.0
Uname: Linux 3.11.0-7-generic x86_64
ApportVersion: 2.12.1-0ubuntu4
Architecture: amd64
Date: Sun Sep 15 16:47:32 2013
InstallationDate: Installed on 2013-09-15 (0 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130914)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ufw
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Anatoly Trosinenko (anatoly-trosinenko) wrote :
Changed in ufw (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Changed in ufw (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This was fixed in 0.34-0ubuntu1.

Changed in ufw (Ubuntu):
status: In Progress → Fix Released
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.