From 8ef3999d734176aa1a8500c824c3e15765f9c733 Mon Sep 17 00:00:00 2001 From: Augusto Date: Thu, 2 Apr 2020 15:14:40 +0100 Subject: [PATCH] Fix typo and formatting --- rc/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc/README.md b/rc/README.md index c35b3710..7883c5a9 100644 --- a/rc/README.md +++ b/rc/README.md @@ -9,6 +9,7 @@ This program analyses a go source file and displays in standard output the impor - Array of all types are allowed - Loops are allowed - Relative imports are allowed + - Disallowed - NO imports are allowed - NO built-in functions are allowed. @@ -27,7 +28,7 @@ This program analyses a go source file and displays in standard output the impor ### Arguments: -- Flags must be passed passed first, before any other argument +- Flags must be passed first, before any other argument - After the flags the first argument must be the file to be analysed @@ -58,10 +59,10 @@ This program analyses a go source file and displays in standard output the impor ```console _$ rc -no-arrays --no-lit=[b-yB-Y] main.go fmt.* github.com/01-edu/z01.PrintRune len ``` + ### Example: - To allow the import of the whole `fmt` package, `z01.PrintRune` and the built-in functions `len` for the file `main.go` - Note: The imports must be writen exactly the way they are writen inside the source code, example: ```console