After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698240 - nmcli dev interface args are inconsistent
nmcli dev interface args are inconsistent
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: nmcli
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks: tracker-nmcli
 
 
Reported: 2013-04-17 20:27 UTC by Dan Winship
Modified: 2020-11-12 14:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Winship 2013-04-17 20:27:37 UTC
"nmcli dev wifi list", "nmcli dev wifi scan", and "nmcli dev wimax list" require you to put "iface" before an interface name.

"nmcli dev show" and "nmcli dev disconnect" *forbid* you to put "iface" before the interface name. :)

All nmcli dev commands should allow-but-not-require "iface". "nmcli dev wifi list" and "nmcli dev wimax list" should cleverly figure out which type of arg you passed them, like the nmcli con commands do. "nmcli dev wifi connect" might still need to require it for disambiguation though.
Comment 1 Jiri Klimes 2013-04-22 16:51:29 UTC
Basically, the 'iface' (or 'ifname' - see bug 698304) is required because they are more arguments and we want user can change their order.
Comment 2 Dan Winship 2013-04-23 14:23:33 UTC
Hm... ok, "iface" actually is optional in "nmcli dev wifi [re]scan"; I got that wrong before.

And I'd been thinking that you could only specify one of iface or bssid in "dev wifi list", but I see now that you're allowed to specify both.

Still, the fact that you *can't* say iface/ifname in "dev show" and "dev disconnect" seems bad.
Comment 3 Dan Winship 2013-05-02 15:59:54 UTC
NM bugzilla reorganization... sorry for the bug spam.
Comment 4 André Klapper 2020-11-12 14:34:28 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).