From 6d8b9608a71f84f2605a29aeaac7fbf75bfe6d19 Mon Sep 17 00:00:00 2001 From: pancake Date: Mon, 22 Sep 2014 16:40:08 +0200 Subject: [PATCH] Add doc for that new rax2 thing --- binr/rax2/rax2.c | 1 + man/rax2.1 | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/binr/rax2/rax2.c b/binr/rax2/rax2.c index b247243d50..717b897f7a 100644 --- a/binr/rax2/rax2.c +++ b/binr/rax2/rax2.c @@ -53,6 +53,7 @@ static int format_output (char mode, const char *s) { static int help () { printf ( + " =[base] ; rax2 =10 0x46 -> output in base 10\n" " int -> hex ; rax2 10\n" " hex -> int ; rax2 0xa\n" " -int -> hex ; rax2 -77\n" diff --git a/man/rax2.1 b/man/rax2.1 index 362d94f467..89c44df7d1 100644 --- a/man/rax2.1 +++ b/man/rax2.1 @@ -35,6 +35,15 @@ Show usage help message .El .Sh USAGE .Pp +Force output mode (numeric base) +.Pp + =f floating point + =2 binary + =3 ternary + =8 octal + =10 decimal + =16 hexadecimal +.Pp Available variable types are: .Pp int \-> hex rax2 10