mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
initctl: add 'cat' as alias for 'show'
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
56cb6f8613
commit
2c9265f8c8
1 file changed
+1
@@ -1480,6 +1480,7 @@ int main(int argc, char *argv[])
|
|||||||
{ "disable", NULL, serv_disable, NULL, NULL },
|
{ "disable", NULL, serv_disable, NULL, NULL },
|
||||||
{ "touch", NULL, serv_touch, NULL, NULL },
|
{ "touch", NULL, serv_touch, NULL, NULL },
|
||||||
{ "show", NULL, serv_show, NULL, NULL },
|
{ "show", NULL, serv_show, NULL, NULL },
|
||||||
|
{ "cat", NULL, serv_show, NULL, NULL }, /* alias */
|
||||||
{ "edit", NULL, serv_edit, NULL, NULL },
|
{ "edit", NULL, serv_edit, NULL, NULL },
|
||||||
{ "create", NULL, serv_creat, NULL, NULL },
|
{ "create", NULL, serv_creat, NULL, NULL },
|
||||||
{ "delete", NULL, serv_delete, NULL, NULL },
|
{ "delete", NULL, serv_delete, NULL, NULL },
|
||||||
|
|||||||
Reference in new issue
Block a user