Skip to content

Commit 1f97a48

Browse files
committed
Add apt install and usage to README
1 parent 001d9d0 commit 1f97a48

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,20 @@ Install
120120
Install from [PyPI](https://pypi.org/project/argparse-formatter/) with:
121121

122122
pip install argparse-formatter
123+
124+
Or:
125+
126+
sudo apt install python3-argparse-formatter
127+
128+
To use the formatter:
129+
130+
from argparse_formatter import ParagraphHelpFormatter
131+
132+
...
133+
134+
def parse_args()
135+
parser = argparse.ArgumentParser(
136+
...
137+
formatter_class=ParagraphHelpFormatter,
138+
)
139+
...

0 commit comments

Comments
 (0)