Re: [go-nuts] Positional arguments and flag package

2020-10-19 Thread Amit Saha
On Thu, Oct 15, 2020 at 4:27 PM Roland Müller wrote: > > Actually, it's explicitly documented, so I don't have to guess: > https://golang.org/pkg/flag/#hdr-Command_line_flag_syntax Thank you. I read it and it makes sense why the behavior is like that. > > > Am Do., 15. Okt. 2020 um 08:22 Uhr sch

Re: [go-nuts] Positional arguments and flag package

2020-10-14 Thread Roland Müller
I guess it's usage of flag is meant in to behave like parsing flags in Unix/LInux, or Python' argparse: - after the command you have the flags denoted by '-' - after flags follow rest of command line args where elements can be every character string BR, Roland Am Fr., 9. Okt. 2020 um 07

Re: [go-nuts] Positional arguments and flag package

2020-10-14 Thread Roland Müller
Actually, it's explicitly documented, so I don't have to guess: https://golang.org/pkg/flag/#hdr-Command_line_flag_syntax Am Do., 15. Okt. 2020 um 08:22 Uhr schrieb Roland Müller : > I guess it's usage of flag is meant in to behave like parsing flags in > Unix/LInux, or Python' argparse: > >