Date: Mon, 9 Mar 2020 23:08:24 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r358826 - head/usr.bin/posixshmcontrol Message-ID: <202003092308.029N8OnT058098@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Mar 9 23:08:24 2020 New Revision: 358826 URL: https://svnweb.freebsd.org/changeset/base/358826 Log: posixshmcontrol: add an undocumented alias 'list' for the 'ls' command. Sponsored by: The FreeBSD Foundation MFC after: 3 days Modified: head/usr.bin/posixshmcontrol/posixshmcontrol.c Modified: head/usr.bin/posixshmcontrol/posixshmcontrol.c ============================================================================== --- head/usr.bin/posixshmcontrol/posixshmcontrol.c Mon Mar 9 21:55:26 2020 (r358825) +++ head/usr.bin/posixshmcontrol/posixshmcontrol.c Mon Mar 9 23:08:24 2020 (r358826) @@ -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, },
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003092308.029N8OnT058098>