Rivoreo Source Code Repositories
src.rivoreo.one
/
minecraft
/
opencomputers
/
a8288b26230129a71843335733aff07f0bdfdba6
/
.
/
assets
/
opencomputers
/
lua
/
rom
/
bin
/
unalias.lua
blob: 596c31831e7559b304f19d5727e1fcfe7289b2ca [
file
] [
log
] [
blame
] [
raw
]
local
args
=
shell
.
parse
(...)
if
#
args
<
1
then
print
(
"Usage: unalias <name>"
)
return
end
local
result
=
shell
.
alias
(
args
[
1
],
nil
)
if
not
result
then
print
(
"no such alias"
)
else
print
(
"alias removed: "
..
args
[
1
]
..
" -> "
..
result
)
end