mirror of
https://github.com/BoredDevNL/BoredOS.git
synced 2026-05-13 01:48:42 +00:00
Rename ptime to time
This commit is contained in:
parent
0075493fba
commit
c275da6145
1 changed files with 4 additions and 4 deletions
|
|
@ -40,12 +40,12 @@ static int ends_with_elf(const char *s) {
|
|||
}
|
||||
|
||||
static void print_usage(void) {
|
||||
printf("Usage: ptime <command> [args...]\n");
|
||||
printf("Usage: time <command> [args...]\n");
|
||||
printf("\n");
|
||||
printf("Examples:\n");
|
||||
printf(" ptime ls\n");
|
||||
printf(" ptime hexdump file.txt\n");
|
||||
printf(" ptime /bin/hexdump.elf file.txt\n");
|
||||
printf(" time ls\n");
|
||||
printf(" time hexdump file.txt\n");
|
||||
printf(" time /bin/hexdump.elf file.txt\n");
|
||||
}
|
||||
|
||||
// Read the system uptime in milliseconds by reading /proc/uptime and parsing the first number (seconds).
|
||||
Loading…
Reference in a new issue