: Re: Documenting the no-args call of a command line program I am writing the built-in help for a command line program. The exact name is irrelevant, so let's use foo as a placeholder. This utility
Usually, your first line takes care of that:
Do FOO in the most awesome way possible
Square braces for [OPTIONS] imply all options are optional.
If arguments modify the behavior, give the default behavior in absence of an argument.
-f filename Perform FOO on file given, instead of standard input.
If parameters were not optional, you put them in <>.
foo [OPTIONS] <URL>
Process FOO of the URL in the most awesome way possible.
In this case, if this use is standard, but you may allow exceptional use without the URL, you detail this in the last line, apart from the options:
Called without arguments, foo displays this help, same as -h.
More posts by @Dunderdale623
: How do you write dialog for a character with malapropism without it seeming forced? I have a character who has a tendency towards malapropism but I find that in every sentence she speaks I
: Let me give three examples of utopian novels published in the last century: B. F. Skinner’s Walden Two (1948), Marge Piercy’s Woman on the Edge of Time (1976), and Gidon Rothstein’s Murderer
Terms of Use Privacy policy Contact About Cancellation policy © selfpublishingguru.com2024 All Rights reserved.