Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print Usage Syntax

Status
Not open for further replies.

columb

IS-IT--Management
Feb 5, 2004
1,231
0
0
EU
A question came up at work this morning about the syntax to use in the 'print usage' section of a program. This led on to a discussion on the usage syntax on man pages. Whilst we have all read enough man pages to know how it's done I wondered if anyone knew of a documented set of rules anywhere. I believe that the Open Source movement have such a document but I can't find it using Google - it gets lost in the noise!

Ceci n'est pas une signature
Columb Healy
 
I find it rather ironic, that you can't find the standardized documentation on proper documentation standards.

<hehehe>



Just my 2¢
-ARRGH! All my clothes are wrinkled! Oh, the irony!

--Greg
 
Here are two options to mull over
Code:
Usage:- program parameter_with_spaces
or
Code:
Usage:- program <parameter with spaces>

Ceci n'est pas une signature
Columb Healy
 
The one I normally see is one word parameters with an explanation of what each parameter means below.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top