diff --git a/README.md b/README.md index 2ade102..53943ae 100644 --- a/README.md +++ b/README.md @@ -154,9 +154,10 @@ nmcli.connection.down(name: str, wait: int = None) -> None Show details for specified connections. Use `show_secrets` argument to reveal associated secrets as well. +Use `active` argument to show only the active profile. ``` -nmcli.connection.show(name: str, show_secrets: bool = False) -> ConnectionDetails +nmcli.connection.show(name: str, show_secrets: bool = False, active: bool = False) -> ConnectionDetails ``` #### nmcli.connection.reload @@ -458,6 +459,10 @@ nmcli.set_lang(lang: str) -> None ## Change Log +### 1.6.0 + +- Added active option to `nmcli.connection.show` + ### 1.5.0 - Added show_secrets option to `nmcli.connection.show` diff --git a/pyproject.toml b/pyproject.toml index e4eb783..c8fcd5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "nmcli" -version = "1.5.0" +version = "1.6.0" description = "A python wrapper library for the network-manager cli client" readme = "README.md" authors = [{name = "ushiboy"}]