From be0696ee0ad834a5b538962ee7e8820f4e220c3c Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Wed, 6 Nov 2019 05:26:12 +0000 Subject: [PATCH] Update printhex.en.md --- subjects/printhex.en.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/subjects/printhex.en.md b/subjects/printhex.en.md index 92ca005eb..c1bdcd45a 100644 --- a/subjects/printhex.en.md +++ b/subjects/printhex.en.md @@ -5,6 +5,7 @@ Write a program that takes a positive (or zero) number expressed in base 10, and displays it in base 16 (with lowercase letters) followed by a newline (`'\n'`). - If the number of parameters is different from 1, the program displays a newline. +- Error cases have to be handled as shown in the example below. ### Usage @@ -16,7 +17,9 @@ student@ubuntu:~/piscine-go/test$ ./test "255" ff student@ubuntu:~/piscine-go/test$ ./test "5156454" 4eae66 -student@ubuntu:~/piscine-go/test$ +student@ubuntu:~/piscine-go/test$ ./test -student@ubuntu:~/piscine-go/ +student@ubuntu:~/piscine-go/test$ ./test "123 132 1" | cat -e +0$ +student@ubuntu:~/piscine-go/test$ ```