summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjohannes <johannes.herman@gmail.com>2024-05-03 13:11:47 +0200
committerjohannes <johannes.herman@gmail.com>2024-05-03 13:11:47 +0200
commit60334a5c4fef17ec7944fc26da5c1497c7f22bec (patch)
tree82f53b669b1ab952a26dead702f4c7ea427e35af /src
parentacf44dc3063f0259a526594260b3f91e743c23b7 (diff)
changed escape sequence from '\e' to '\033'
Diffstat (limited to 'src')
-rw-r--r--src/args.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/args.c b/src/args.c
index 1e99fe4..adf4a54 100644
--- a/src/args.c
+++ b/src/args.c
@@ -246,11 +246,11 @@ void printhelp()
printf("%s\n\n", inf);
if (usg)
- printf("\e[4mUsage:\e[0m %s\n", usg);
+ printf("\033[4mUsage:\033[0m %s\n", usg);
if (inctype[ARGUMENT])
{
- printf("\n\e[4mArgument%c:\e[0m\n", (inctype[ARGUMENT] < 2) ? '\0' : 's');
+ printf("\n\033[4mArgument%c:\033[0m\n", (inctype[ARGUMENT] < 2) ? '\0' : 's');
for (int i = 0; i < PARGC; i++)
{
parg *pa = &PARGS[i];
@@ -261,7 +261,7 @@ void printhelp()
if (inctype[OPTION])
{
- printf("\n\e[4mOption%c:\e[0m\n", (inctype[OPTION] < 2) ? '\0' : 's');
+ printf("\n\033[4mOption%c:\033[0m\n", (inctype[OPTION] < 2) ? '\0' : 's');
for (int i = 0; i < PARGC; i++)
{
parg *pa = &PARGS[i];