diff options
author | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-09-24 17:36:37 +0300 |
---|---|---|
committer | Andrey V.Kosteltsev <AKosteltsev@IBS.RU> | 2022-09-24 17:36:37 +0300 |
commit | 06476556a78fa9ed81948fcacdc07c808db39661 (patch) | |
tree | 81f73d8abb79dfcbf3f2965aba31c09df85730b4 /src/main.c | |
parent | 2cb9fbfe059354d06c088e090b6af7238b4fa806 (diff) | |
download | sila-shell-06476556a78fa9ed81948fcacdc07c808db39661.tar.xz |
Add id command
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -61,6 +61,7 @@ COMMAND shell_admin_list[] = { { "delete", com_delete, "Delete FILE" }, { "list", com_ls, "List files in DIR" }, { "ls", com_ls, "Synonym for `list'" }, + { "id", com_id, "Print user identity" }, { "ping", com_ping, "Ping some host" }, { "pwd", com_pwd, "Print the current working directory" }, { "rename", com_rename, "Rename FILE to NEWNAME" }, @@ -79,6 +80,7 @@ COMMAND shell_operator_list[] = { { "delete", com_delete, "Delete FILE" }, { "list", com_ls, "List files in DIR" }, { "ls", com_ls, "Synonym for `list'" }, + { "id", com_id, "Print user identity" }, { "ping", com_ping, "Ping some host" }, { "pwd", com_pwd, "Print the current working directory" }, { "rename", com_rename, "Rename FILE to NEWNAME" }, @@ -97,6 +99,7 @@ COMMAND shell_user_list[] = { { "delete", com_delete, "Delete FILE" }, { "list", com_ls, "List files in DIR" }, { "ls", com_ls, "Synonym for `list'" }, + { "id", com_id, "Print user identity" }, { "ping", com_ping, "Ping some host" }, { "pwd", com_pwd, "Print the current working directory" }, { "rename", com_rename, "Rename FILE to NEWNAME" }, |