posixshmcontrol: add an undocumented alias 'list' for the 'ls' command.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2020-03-09 23:08:24 +00:00
parent c6d3d601c9
commit a24ac0ce9b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358826

View file

@ -446,6 +446,7 @@ struct opmode {
static const struct opmode opmodes[] = {
{ .cmd = "create", .impl = create_shm},
{ .cmd = "rm", .impl = delete_shm, },
{ .cmd = "list", .impl = list_shm },
{ .cmd = "ls", .impl = list_shm },
{ .cmd = "dump", .impl = read_shm, },
{ .cmd = "stat", .impl = stat_shm, },