From dfe2a019a3532da9be85f914acfef5946511c1d2 Mon Sep 17 00:00:00 2001 From: gilfoyle97 Date: Sun, 13 Feb 2022 12:44:57 +0100 Subject: [PATCH] Update flags.go --- input/flags.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/input/flags.go b/input/flags.go index 91e0744..71aa880 100644 --- a/input/flags.go +++ b/input/flags.go @@ -28,6 +28,7 @@ import ( ) //Input struct +//It contains all the possible options type Input struct { Version bool Delay int @@ -54,8 +55,9 @@ type Input struct { Errors bool } -//ScanFlag defines all the switches taken -//as input and return them. +//ScanFlag defines all the options taken +//as input and scan them, then it returns +//an Input struct. func ScanFlag() Input { versionPtr := flag.Bool("version", false, "Print the version.")