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, }, _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"