summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAbdellah El Morabit <nsrddyn@gmail.com>2025-02-19 11:36:52 +0100
committerAbdellah El Morabit <nsrddyn@gmail.com>2025-02-19 11:36:52 +0100
commit47f7b0ca57a37722c02dc3a4b8153c8f0ace93e6 (patch)
treeea0f5b81f9cc574629e3af75db0da01661802b85 /main.c
parent932701fc600b12145db900f9e64d02ee20d6cb22 (diff)
renamed the ls command for better code readability
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index e13500c..4304a92 100644
--- a/main.c
+++ b/main.c
@@ -126,7 +126,7 @@ void exec_command(char *input) {
// shell command functions
// ls command
-void ls(const char *path) {
+void list(const char *path) {
struct dirent *entry;
if (path == NULL) {
printf("No path found\n");