myshell 2.0.0
Loading...
Searching...
No Matches
malias.cpp File Reference

Built-in command malias. More...

Functions

int malias (int argc, char **argv)
 

Variables

static const builtin_doc doc
 

Detailed Description

Built-in command malias.

Variable Documentation

◆ doc

const builtin_doc doc
static
Initial value:
= {
.name = "malias",
.args = "[name[=value] ...] [-h|--help]",
.brief = "Create or print aliases",
.doc = "Without arguments, prints all aliases.\n\n"
"If arguments are given, creates an alias for each argument of the form NAME=VALUE\n"
"or prints the value of the alias with the given name.\n\n"
"Returns 0 unless an unknown alias is given."
}