Displaying usage of command-line programs

Report a typo

One of your classmates has passed you a Go program named main.go that works as a command-line application. Unfortunately, your classmate hasn't told you how to use it or what arguments or flags you should pass to it.

What special flag argument can you pass to the program to display its usage? Please enter the flag argument with one - or two -- hyphens before the flag name.

Enter a short text
___

Create a free account to access the full topic