File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -189,16 +189,20 @@ nmcli.device.status() -> List[Device]
189189
190190Show details of device.
191191
192+ The ` fields ` argument applies the same effect to the command as the ` -f | --fields ` option. If it is omitted, the default behavior is followed.
193+
192194```
193- nmcli.device.show(ifname: str) -> DeviceDetails
195+ nmcli.device.show(ifname: str, fields: str = None ) -> DeviceDetails
194196```
195197
196198#### nmcli.device.show_all
197199
198200Show details of devices.
199201
202+ The ` fields ` argument applies the same effect to the command as the ` -f | --fields ` option. If it is omitted, the default behavior is followed.
203+
200204```
201- nmcli.device.show_all() -> List[DeviceDetails]
205+ nmcli.device.show_all(fields: str = None ) -> List[DeviceDetails]
202206```
203207
204208#### nmcli.device.connect
@@ -455,6 +459,10 @@ nmcli.set_lang(lang: str) -> None
455459
456460## Change Log
457461
462+ ### 1.1.0
463+
464+ - Added fields option to ` nmcli.device.show ` and ` nmcli.device.show_all `
465+
458466### 1.0.0
459467
460468- Handle connection failure exceptions with ` nmcli.device.wifi_connect ` .
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def run_tests(self):
1313
1414setup (
1515 name = 'nmcli' ,
16- version = '1.0 .0' ,
16+ version = '1.1 .0' ,
1717 author = 'ushiboy' ,
1818 license = 'MIT' ,
1919 description = 'A python wrapper library for the network-manager cli client' ,
You can’t perform that action at this time.
0 commit comments