Skip to content

Commit 646ee41

Browse files
Update README.md
text formatting
1 parent 453cbbc commit 646ee41

File tree

1 file changed

+23
-38
lines changed

1 file changed

+23
-38
lines changed

docs/README.md

Lines changed: 23 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ including their status, usage data, and associated limits.
131131

132132
```bash
133133

134-
python secure_python_code_manager.py \--license-info -l LICENSE_KEYS
135-
\[OPTIONS\]
134+
python secure_python_code_manager.py --license-info -l LICENSE_KEYS [OPTIONS]
136135
```
137136
**Description of Parameters**
138137

@@ -156,34 +155,32 @@ python secure_python_code_manager.py \--license-info -l LICENSE_KEYS
156155

157156
```bash
158157

159-
python secure_python_code_manager.py \--license-info -l 1234567890
158+
python secure_python_code_manager.py --license-info -l 1234567890
160159
```
161160
**Example 2:** Retrieve information for multiple licenses.
162161

163162
```bash
164163

165-
python secure_python_code_manager.py \--license-info -l
164+
python secure_python_code_manager.py --license-info -l
166165
1234567890,0987654321
167166
```
168167
**Example 3:** Retrieve information for all licenses.
169168

170169
```bash
171170

172-
python secure_python_code_manager.py \--license-info -l all
171+
python secure_python_code_manager.py --license-info -l all
173172
```
174173
**Example 4:** Extend the expiration date of a license by 24 hours.
175174

176175
```bash
177176

178-
python secure_python_code_manager.py \--license-info -l 1234567890
179-
\--extend
177+
python secure_python_code_manager.py --license-info -l 1234567890 --extend
180178
```
181179
**Example 5:** Set the maximum number of hardware IDs for a license.
182180

183181
```bash
184182

185-
python secure_python_code_manager.py \--license-info -l 1234567890
186-
\--set_hwids 5
183+
python secure_python_code_manager.py --license-info -l 1234567890 --set_hwids 5
187184
```
188185
**Expected Output**
189186

@@ -290,7 +287,7 @@ uploaded scripts and associated licenses.
290287

291288
```bash
292289

293-
python secure_python_code_manager.py \--service-usage \[OPTIONS\]
290+
python secure_python_code_manager.py --service-usage [OPTIONS]
294291
```
295292
**Description of Parameters**
296293

@@ -313,28 +310,26 @@ python secure_python_code_manager.py \--service-usage \[OPTIONS\]
313310

314311
```bash
315312

316-
python secure_python_code_manager.py \--service-usage
313+
python secure_python_code_manager.py --service-usage
317314
```
318315
**Example 2:** Remove specific licenses.
319316

320317
```bash
321318

322-
python secure_python_code_manager.py \--service-usage \--license-removal
319+
python secure_python_code_manager.py --service-usage --license-removal
323320
1234567890,0987654321
324321
```
325322
**Example 3:** Remove all licenses.
326323

327324
```bash
328325

329-
python secure_python_code_manager.py \--service-usage \--license-removal
330-
all
326+
python secure_python_code_manager.py --service-usage --license-removal all
331327
```
332328
**Example 4:** Remove specific code entries.
333329

334330
```bash
335331

336-
python secure_python_code_manager.py \--service-usage \--code-removal
337-
1122334455,5566778899
332+
python secure_python_code_manager.py --service-usage --code-removal 1122334455,5566778899
338333
```
339334
**Expected Output**
340335

@@ -407,7 +402,7 @@ create a new license for it.
407402

408403
```bash
409404

410-
python secure_python_code_manager.py \--upload -f FILE_PATH
405+
python secure_python_code_manager.py --upload -f FILE_PATH
411406
```
412407
**Description of Parameters**
413408

@@ -422,7 +417,7 @@ python secure_python_code_manager.py \--upload -f FILE_PATH
422417

423418
```bash
424419

425-
python secure_python_code_manager.py \--upload -f my_script.py
420+
python secure_python_code_manager.py --upload -f my_script.py
426421
```
427422
The script must be a valid .py file.
428423

@@ -464,8 +459,7 @@ specific license.
464459

465460
```bash
466461

467-
python secure_python_code_manager.py \--update -f FILE_PATH -l
468-
LICENSE_KEY
462+
python secure_python_code_manager.py --update -f FILE_PATH -l LICENSE_KEY
469463
```
470464
**Description of Parameters**
471465

@@ -483,8 +477,7 @@ LICENSE_KEY
483477

484478
```bash
485479

486-
python secure_python_code_manager.py \--update -f my_script.py -l
487-
1234567890
480+
python secure_python_code_manager.py --update -f my_script.py -l 1234567890
488481
```
489482
**Expected Output**
490483

@@ -522,15 +515,13 @@ date of specified licenses by 24 hours.
522515

523516
```bash
524517

525-
python secure_python_code_manager.py \--license-info -l LICENSE_KEYS
526-
\--extend
518+
python secure_python_code_manager.py --license-info -l LICENSE_KEYS --extend
527519
```
528520
**Example**
529521

530522
```bash
531523

532-
python secure_python_code_manager.py \--license-info -l 1234567890
533-
\--extend
524+
python secure_python_code_manager.py --license-info -l 1234567890 --extend
534525
```
535526
**Notes**
536527

@@ -549,15 +540,13 @@ number of hardware IDs for specified licenses.
549540

550541
```bash
551542

552-
python secure_python_code_manager.py \--license-info -l LICENSE_KEYS
553-
\--set_hwids NUMBER
543+
python secure_python_code_manager.py --license-info -l LICENSE_KEYS --set_hwids NUMBER
554544
```
555545
**Example**
556546

557547
```bash
558548

559-
python secure_python_code_manager.py \--license-info -l 1234567890
560-
\--set_hwids 5
549+
python secure_python_code_manager.py --license-info -l 1234567890 --set_hwids 5
561550
```
562551
**Notes**
563552

@@ -576,31 +565,27 @@ entries.
576565

577566
```bash
578567

579-
python secure_python_code_manager.py \--service-usage
580-
\[\--license-removal LICENSE_KEYS\] \[\--code-removal CONTENT_HASHES\]
568+
python secure_python_code_manager.py --service-usage [--license-removal LICENSE_KEYS] [--code-removal CONTENT_HASHES]
581569
```
582570
**Examples**
583571

584572
**Delete specific licenses:**
585573

586574
```bash
587575

588-
python secure_python_code_manager.py \--service-usage \--license-removal
589-
1234567890,0987654321
576+
python secure_python_code_manager.py --service-usage --license-removal 1234567890,0987654321
590577
```
591578
**Delete all licenses:**
592579

593580
```bash
594581

595-
python secure_python_code_manager.py \--service-usage \--license-removal
596-
all
582+
python secure_python_code_manager.py --service-usage --license-removal all
597583
```
598584
**Delete specific code entries:**
599585

600586
```bash
601587

602-
python secure_python_code_manager.py \--service-usage \--code-removal
603-
1122334455,5566778899
588+
python secure_python_code_manager.py --service-usage --code-removal 1122334455,5566778899
604589
```
605590
**Notes**
606591

0 commit comments

Comments
 (0)