File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed
Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,21 @@ Where `<NUMBER>` can be:
1919- A decimal number (e.g., ` 42 ` , ` -123 ` )
2020- A hexadecimal number (e.g., ` 0x2A ` , ` 0xffff ` )
2121
22+ Type ` nmx -h ` to see how to use nmx:
23+
24+ ```
25+ ❯ nmx -h
26+ Usage: nmx [OPTIONS] <NUMBER>
27+
28+ Arguments:
29+ <NUMBER>
30+
31+ Options:
32+ -m, --monochrome Display result without colors
33+ -h, --help Print help
34+ -V, --version Print version
35+ ```
36+
2237## Comparison with Alternatives
2338
2439While similar tools exist, NumEx focuses on simplicity and intuitive syntax:
@@ -58,13 +73,13 @@ cargo install --path .
5873
5974### Examples
6075
61- Converting decimal number 42 :
76+ Converting hexadecimal number 0xcafe :
6277
6378``` bash
64- $ nmx 42
65- Dec: 42
66- Hex: 0x2a
67- Bin: 0b101010
79+ ❯ nmx 0xcafe
80+ Dec: 51966
81+ Hex: 0xcafe
82+ Bin: 0b1100101011111110
6883```
6984
7085## Error Handling
You can’t perform that action at this time.
0 commit comments