Public bug reported:

If I type:

 snap interfaces ohmy<tab>

I get:

 snap interfaces ohmygiraffe:

And snappy complains:

 error: invalid value: "ohmygiraffe:" (want snap:name or snap)

The tab completion has figured out I'm completing a snap name (rather
than an interface), so I'd expect to get:

 snap interfaces ohmygiraffe

This is with snapd 2.31.1 on an Ubuntu 16.04 system.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  If I type:
  
-  snap interfaces fire<tab>
+  snap interfaces ohmy<tab>
  
  I get:
  
-  snap interfaces firefox:
+  snap interfaces ohmygiraffe:
  
  And snappy complains:
  
-  error: invalid value: "firefox:" (want snap:name or snap)
+  error: invalid value: "ohmygiraffe:" (want snap:name or snap)
  
  The tab completion has figured out I'm completing a snap name (rather
  than an interface), so I'd expect to get:
  
-  snap interfaces firefox
+  snap interfaces ohmygiraffe
  
  This is with snapd 2.31.1 on an Ubuntu 16.04 system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1751305

Title:
  tab completion for interfaces incorrectly adds ':' to a snap name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1751305/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to