Updated usage
This commit is contained in:
parent
68b23feee7
commit
0f2a944556
10
README.md
10
README.md
@ -14,24 +14,16 @@ PyLCG is a high-performance Python implementation of a memory-efficient IP addre
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
### From PyPI
|
|
||||||
```bash
|
```bash
|
||||||
pip install pylcg
|
pip install pylcg
|
||||||
```
|
```
|
||||||
|
|
||||||
### From Source
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/acidvegas/pylcg
|
|
||||||
cd pylcg
|
|
||||||
chmod +x pylcg.py
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Command Line
|
### Command Line
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./pylcg.py 192.168.0.0/16 --shard-num 1 --total-shards 4 --seed 12345
|
pylcg 192.168.0.0/16 --shard-num 1 --total-shards 4 --seed 12345
|
||||||
```
|
```
|
||||||
|
|
||||||
### As a Library
|
### As a Library
|
||||||
|
Loading…
Reference in New Issue
Block a user