Add rasm2 -N to mimmic the r2 -N flag ##shell

This commit is contained in:
pancake 2023-03-27 13:40:25 +02:00 committed by pancake
parent 459e071510
commit 635c434337
2 changed files with 5 additions and 2 deletions

View File

@ -344,6 +344,7 @@ static int rasm_show_help(int v) {
" -LLL list RArch plugins (see arch.arch=?) combines with -j\n"
" -o,-@ [addr] set start address for code (default 0)\n"
" -O [file] output file name (rasm2 -Bf a.asm -O a)\n"
" -N same as r2 -N (or RASM2_NOPLUGINS) (not load any plugin)\n"
" -p run SPP over input for assembly\n"
" -q quiet mode\n"
" -r output in radare commands\n"

View File

@ -1,11 +1,11 @@
.Dd Jul 25, 2021
.Dd Mar 27, 2023
.Dt RASM2 1
.Sh NAME
.Nm rasm2
.Nd radare2 assembler and disassembler tool
.Sh SYNOPSIS
.Nm rasm2
.Op Fl ABdDeEfCLvwrqx
.Op Fl ABdDeEfCLvwrNqx
.Op Fl a Ar arch
.Op Fl b Ar bits
.Op Fl c Ar cpu
@ -63,6 +63,8 @@ List loaded arch plugins
Offset of the opcode to assemble (default is 0)
.It Fl @ Ar offset
Alias for -o
.It Fl N
Dont load any plugin, same as RASM2_NOPLUGINS=1 or r2 -NN
.It Fl O Ar ofile
output to file, for example 'rasm2 \-BF a a.asm'
.It Fl r