<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/cli, branch th/minor-cli-changes</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>cli: improve bash completion to complete -h and --help aliases</title>
<updated>2013-11-11T14:15:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2013-11-11T13:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8d7f6a28f640eecf54716c11a62eedfc941e1f48'/>
<id>8d7f6a28f640eecf54716c11a62eedfc941e1f48</id>
<content type='text'>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: make command line parsing first check for help option</title>
<updated>2013-11-11T14:15:56+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2013-11-11T13:57:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=cd32796112fa6ce1696e85b40e7429501ccdba0f'/>
<id>cd32796112fa6ce1696e85b40e7429501ccdba0f</id>
<content type='text'>
Move the ckecks for nmc_arg_is_help to the beginning of the
checks for command matches.

Up to now, no command begins with 'h', so this has no behavioral
change whatsoever. But imagine a command that begins with 'h'
(for example `nmcli general hostname`), in that case `nmcli general h`
should still show the help, as users might be accustomed to this
abbreviation.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the ckecks for nmc_arg_is_help to the beginning of the
checks for command matches.

Up to now, no command begins with 'h', so this has no behavioral
change whatsoever. But imagine a command that begins with 'h'
(for example `nmcli general hostname`), in that case `nmcli general h`
should still show the help, as users might be accustomed to this
abbreviation.

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: fix in matching command line arguments</title>
<updated>2013-11-11T14:15:23+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2013-11-11T13:43:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0865a051eced6bdd42e4601e35402c35c2e6c2fc'/>
<id>0865a051eced6bdd42e4601e35402c35c2e6c2fc</id>
<content type='text'>
Ensure in matches() that a non empty cmd is given, otherwise
currently

  nmcli general -

matches to '-h' and is thus treated as

  nmcli general -h

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure in matches() that a non empty cmd is given, otherwise
currently

  nmcli general -

matches to '-h' and is thus treated as

  nmcli general -h

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: fix 'nmcli con up bad_name' or 'nmcli con up'</title>
<updated>2013-11-07T17:01:16+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2013-11-07T17:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=5a4e40bacfcd24679046f745ea0e18877d5ec267'/>
<id>5a4e40bacfcd24679046f745ea0e18877d5ec267</id>
<content type='text'>
** (process:25157): CRITICAL **: nmc_activate_connection: assertion `NM_IS_CONNECTION (connection) || ifname' failed
Error: unknown error.

Regression caused by 42c7ea85a17a7e7459942f356399e36308011c86.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
** (process:25157): CRITICAL **: nmc_activate_connection: assertion `NM_IS_CONNECTION (connection) || ifname' failed
Error: unknown error.

Regression caused by 42c7ea85a17a7e7459942f356399e36308011c86.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: add support for 'nmcli dev connect ifname XXX'</title>
<updated>2013-10-31T20:45:21+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2013-09-17T02:03:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7d57386e04906ce2e0d54f09081169f1ac21142c'/>
<id>7d57386e04906ce2e0d54f09081169f1ac21142c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: add support for 'nmcli con up ifname XXX'</title>
<updated>2013-10-31T20:45:20+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2013-09-06T15:05:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=42c7ea85a17a7e7459942f356399e36308011c86'/>
<id>42c7ea85a17a7e7459942f356399e36308011c86</id>
<content type='text'>
Passes a NULL connection to nm_client_activate_connection() allowing
NetworkManager to pick the best available connection for the interface.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Passes a NULL connection to nm_client_activate_connection() allowing
NetworkManager to pick the best available connection for the interface.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: TAB-complete devices for 'activate' command in the editor</title>
<updated>2013-10-31T08:00:56+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2013-10-29T11:38:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=375220cae1f8843acac04f873fc419ca00d22fae'/>
<id>375220cae1f8843acac04f873fc419ca00d22fae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: add 'activate' menu command for interactive editor (rh #1004883)</title>
<updated>2013-10-31T07:53:56+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2013-07-23T11:32:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=8d9718bd0f66c74a25ad0ef9fdecbebec749b0d2'/>
<id>8d9718bd0f66c74a25ad0ef9fdecbebec749b0d2</id>
<content type='text'>
This command allows activating the edited connection.

Monitoring the progress of the activation is a bit complicated by the fact
that the callback activate_connection_editor_cb() is invoked in main loop
thread, and not in the editor thread itself.

https://bugzilla.redhat.com/show_bug.cgi?id=1004883
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This command allows activating the edited connection.

Monitoring the progress of the activation is a bit complicated by the fact
that the callback activate_connection_editor_cb() is invoked in main loop
thread, and not in the editor thread itself.

https://bugzilla.redhat.com/show_bug.cgi?id=1004883
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: fix VLAN egress priority mapping for 'nmcli connection add'</title>
<updated>2013-10-30T16:25:45+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2013-10-30T16:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=26dca13c7e92efbe64ae46596e52612a84365e25'/>
<id>26dca13c7e92efbe64ae46596e52612a84365e25</id>
<content type='text'>
Found with Coverity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found with Coverity.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: fix bash completion for `nmcli connection modify`</title>
<updated>2013-10-30T12:33:47+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2013-10-30T12:33:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=623f8a2be17aa90fb276229dbfa5be5815dae317'/>
<id>623f8a2be17aa90fb276229dbfa5be5815dae317</id>
<content type='text'>
Only complete the setting name if it is at the very first
position after the connection.

e.g. complete the settings name in the case
  $ nmcli connection modify em1 connec&lt;TAB&gt;
but not at
  $ nmcli connection modify em1 connection.autoconnect &lt;TAB&gt;

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only complete the setting name if it is at the very first
position after the connection.

e.g. complete the settings name in the case
  $ nmcli connection modify em1 connec&lt;TAB&gt;
but not at
  $ nmcli connection modify em1 connection.autoconnect &lt;TAB&gt;

Signed-off-by: Thomas Haller &lt;thaller@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
