Next: , Previous: Sample output, Up: Top


3 Invoking hello

The format for running the hello program is:

     hello option ...

hello supports the following options:

--greeting=text
-g text
Output text.
--help
-h
Print an informative help message on standard output and exit successfully.

For the --help output of GNU programs, it's strongly encouraged to include a brief (one or two sentences) description of what the program does, as well as the synopsis of how to run the program. Any environment variables which affect execution should also be mentioned (Hello doesn't have any).

--next-generation
-n
Output a modern greeting, possibly including box-drawing characters or other fancy stuff, using the Unicode UTF-8 locale.
--traditional
-t
Use the traditional greeting message ‘hello, world’ rather than the more modern ‘Hello, world!’.
--version
-v
Print the version number and licensing information of hello on standard output and then exit successfully.