Adjusted some styling

This commit is contained in:
2019-07-15 21:50:43 +02:00
parent 094af7ff70
commit bf944e3981

View File

@@ -46,7 +46,7 @@ calc_entro.py teststring teststring2 teststring3 -files test1.txt -files test2.t
--- ---
Content: TEST Content: TEST
Probabilities: {'T': 0.5, 'E': 0.25, 'S': 0.25} Probabilities: {'T': 0.5, 'E': 0.25, 'S': 0.25}
Entropy: 1.5 Entropy: 1.5 bits
--- ---
``` ```
@@ -54,11 +54,13 @@ or simplistic like this:
``` ```
--- ---
Entropy: 1.5 Entropy: 1.5 bits
--- ---
``` ```
### String conversion ### String conversion
`--lower` - Converts the input strings to lowercase `--lower` - Converts the input strings to lowercase
`--upper` - Opposite of lower, converts to upper (if both are set only lower will be executed) `--upper` - Opposite of lower, converts to upper (if both are set only lower will be executed)
`--squash` - Removes all whitespaces from input files (*This doesn't apply to input strings as they will be separated by spaces anyways!*) `--squash` - Removes all whitespaces from input files (*This doesn't apply to input strings as they will be separated by spaces anyways!*)