Skip to content

Commit

Permalink
Improve readme 'usage' code block (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechWiz-3 authored Jul 19, 2022
1 parent fc50845 commit 095882f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ $ distro -j

$ python
>>> import distro
>>> distro.linux_distribution(full_distribution_name=False)
('centos', '7.1.1503', 'Core')
>>> distro.name(pretty=True)
'CentOS Linux 8'
>>> distro.id()
'centos'
>>> distro.version(best=True)
'8.4.2105'
```


Expand Down

0 comments on commit 095882f

Please sign in to comment.