Skip to content

Commit f86f0b6

Browse files
authored
Update README.md
1 parent 0df1098 commit f86f0b6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
# rcv
22

33
An exceedingly simple C program used for quick conversion between radicies.
4+
5+
## Usage
6+
7+
`rcv [OPTION...] [INPUT_NUMBER]`
8+
9+
## Options
10+
11+
* `-b, --bin`: Output as a binary number (radix 2)
12+
* `-c, --coct-prefix`: Use a C-style octal prefix (leading 0) instead of a Rust-style octal prefix (leading 0o)
13+
* `-i --dec`: (Default) output as a signed decimal number (radix 10)
14+
* `-n, --no-newline`: Omit the line feed at the end of the output
15+
* `-o, --oct`: Output as an octal number (radix 8)
16+
* `-p, --no-prefix`: Omit the prefix for hexadecimal, octal, and binary output
17+
* `-u, --dec`: Output as an unsigned decimal number (radix 10)
18+
* `-x, --hex`: Output as a hexadecimal number (radix 16)
19+
* `-?, --help`: Display the help page
20+
* `-V, --version`: Print program version

0 commit comments

Comments
 (0)